mpls: autoload lwt module
authorRobert Shearman <rshearma@brocade.com>
Fri, 19 Feb 2016 09:43:17 +0000 (09:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Feb 2016 03:00:28 +0000 (22:00 -0500)
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>
net/mpls/mpls_iptunnel.c

index fb31aa8..644a8da 100644 (file)
@@ -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");