Pārlūkot izejas kodu

gre: add module alias for gre0 tunnel device

If gre is built as a module the 'ip tunnel add' command would fail because
the ip_gre module was not being autoloaded.  Adding an alias for
the gre0 device name cause dev_load() to autoload it when needed.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
stephen hemminger 14 gadi atpakaļ
vecāks
revīzija
4da6a738ff
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      net/ipv4/ip_gre.c

+ 1 - 0
net/ipv4/ip_gre.c

@@ -1764,3 +1764,4 @@ module_exit(ipgre_fini);
 MODULE_LICENSE("GPL");
 MODULE_ALIAS_RTNL_LINK("gre");
 MODULE_ALIAS_RTNL_LINK("gretap");
+MODULE_ALIAS("gre0");