summaryrefslogtreecommitdiffstats
path: root/drivers/net/gtp.c
diff options
context:
space:
mode:
authorAndreas Schultz <aschultz@tpip.net>2017-01-27 10:40:56 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-27 10:39:09 -0500
commitab729823ec16aef384f09fd2cffe0b3d3f6e6cba (patch)
tree2c9c8882332e8733796cffb3edad612804edb0d8 /drivers/net/gtp.c
parent92e55f412cffd016cc245a74278cb4d7b89bb3bc (diff)
downloadlinux-ab729823ec16aef384f09fd2cffe0b3d3f6e6cba.tar.bz2
gtp: add genl family modules alias
Auto-load the module when userspace asks for the gtp netlink family. Signed-off-by: Andreas Schultz <aschultz@tpip.net> Acked-by: Harald Welte <laforge@netfilter.org> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/gtp.c')
-rw-r--r--drivers/net/gtp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/gtp.c b/drivers/net/gtp.c
index 8b6810bad54b..7580ccc50e1d 100644
--- a/drivers/net/gtp.c
+++ b/drivers/net/gtp.c
@@ -1376,3 +1376,4 @@ MODULE_LICENSE("GPL");
MODULE_AUTHOR("Harald Welte <hwelte@sysmocom.de>");
MODULE_DESCRIPTION("Interface driver for GTP encapsulated traffic");
MODULE_ALIAS_RTNL_LINK("gtp");
+MODULE_ALIAS_GENL_FAMILY("gtp");