OSDN Git Service

ip6gre: add a rtnl link alias for ip6gretap
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Wed, 24 Sep 2014 09:03:00 +0000 (11:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Sep 2014 21:15:57 +0000 (17:15 -0400)
With this alias, we don't need to load manually the module before adding an
ip6gretap interface with iproute2.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_gre.c

index 5f19dfb..d172ec4 100644 (file)
@@ -1724,4 +1724,5 @@ MODULE_LICENSE("GPL");
 MODULE_AUTHOR("D. Kozlov (xeb@mail.ru)");
 MODULE_DESCRIPTION("GRE over IPv6 tunneling device");
 MODULE_ALIAS_RTNL_LINK("ip6gre");
+MODULE_ALIAS_RTNL_LINK("ip6gretap");
 MODULE_ALIAS_NETDEV("ip6gre0");