summaryrefslogtreecommitdiffstats
path: root/net/mpls/mpls_iptunnel.c
diff options
context:
space:
mode:
authorRobert Shearman <rshearma@brocade.com>2016-02-19 09:43:17 +0000
committerDavid S. Miller <davem@davemloft.net>2016-02-21 22:00:28 -0500
commitb2b04edceb7cc3c3023fea7d4ccc7dd243e839a9 (patch)
treee40df6d864874fedb8bd19fbf060c0de33c635e2 /net/mpls/mpls_iptunnel.c
parent745041e2aaf1d668f293aaab4b0f6ad7daa056a5 (diff)
downloadlinux-stable-b2b04edceb7cc3c3023fea7d4ccc7dd243e839a9.tar.gz
linux-stable-b2b04edceb7cc3c3023fea7d4ccc7dd243e839a9.tar.bz2
linux-stable-b2b04edceb7cc3c3023fea7d4ccc7dd243e839a9.zip
mpls: autoload lwt module
Avoid users having to manually load the module by adding a module alias allowing it to be autoloaded by the lwt infra. Signed-off-by: Robert Shearman <rshearma@brocade.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mpls/mpls_iptunnel.c')
-rw-r--r--net/mpls/mpls_iptunnel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mpls/mpls_iptunnel.c b/net/mpls/mpls_iptunnel.c
index fb31aa87de81..644a8da6d4bd 100644
--- a/net/mpls/mpls_iptunnel.c
+++ b/net/mpls/mpls_iptunnel.c
@@ -227,5 +227,6 @@ static void __exit mpls_iptunnel_exit(void)
}
module_exit(mpls_iptunnel_exit);
+MODULE_ALIAS_RTNL_LWT(MPLS);
MODULE_DESCRIPTION("MultiProtocol Label Switching IP Tunnels");
MODULE_LICENSE("GPL v2");