From: Robert Shearman Date: Fri, 19 Feb 2016 09:43:17 +0000 (+0000) Subject: mpls: autoload lwt module X-Git-Tag: v4.6-rc1~91^2~210^2~1 X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=b2b04edceb7cc3c3023fea7d4ccc7dd243e839a9;p=cascardo%2Flinux.git 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 Signed-off-by: David S. Miller --- 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");