From: Nicolas Dichtel Date: Wed, 24 Sep 2014 09:03:00 +0000 (+0200) Subject: ip6gre: add a rtnl link alias for ip6gretap X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5a4ee9a9a066b1600509d968e1e9eab37c8501d8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ip6gre: add a rtnl link alias for ip6gretap With this alias, we don't need to load manually the module before adding an ip6gretap interface with iproute2. Signed-off-by: Nicolas Dichtel Signed-off-by: David S. Miller --- diff --git a/net/ipv6/ip6_gre.c b/net/ipv6/ip6_gre.c index 5f19dfbc4c6a..d172ec4ec9d3 100644 --- a/net/ipv6/ip6_gre.c +++ b/net/ipv6/ip6_gre.c @@ -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");