net: add MODULE_ALIAS_NET_PF_PROTO_NAME
authorNeil Horman <nhorman@tuxdriver.com>
Tue, 29 May 2012 09:30:40 +0000 (09:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 May 2012 02:33:55 +0000 (22:33 -0400)
commit2033e9bf06f07e049bbc77e9452856df846714cc
tree6efbc29328e50f7d5df626ba8c3c75f1565f73bb
parent20571d8894d1ee5a181e34e8d07ed8472acd30c4
net: add MODULE_ALIAS_NET_PF_PROTO_NAME

The MODULE_ALAIS_NET_PF macro set is missing a variant that allows for the
appending of an arbitrary string to the net-pf-<x>-proto-<y> base.  while
MODULE_ALIAS_NET_PF_PROTO_NAME_TYPE allows an appending of a numerical type, we
need to be able to append a generic string to support generic netlink families
that have neither a fix numberical protocol nor type number

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
CC: Eric Dumazet <eric.dumazet@gmail.com>
CC: David Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/net.h