summaryrefslogtreecommitdiffstats
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 16:39:09 +0100
commitab729823ec16aef384f09fd2cffe0b3d3f6e6cba (patch)
tree2c9c8882332e8733796cffb3edad612804edb0d8
parenttcp: don't annotate mark on control socket from tcp_v6_send_response() (diff)
downloadlinux-ab729823ec16aef384f09fd2cffe0b3d3f6e6cba.tar.xz
linux-ab729823ec16aef384f09fd2cffe0b3d3f6e6cba.zip
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>
-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");