projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
407d6fc
)
gre: add module alias for gre0 tunnel device
author
stephen hemminger
<
[email protected]
>
Mon, 29 Nov 2010 09:47:48 +0000
(09:47 +0000)
committer
David S. Miller
<
[email protected]
>
Wed, 1 Dec 2010 20:53:22 +0000
(12:53 -0800)
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 <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/ipv4/ip_gre.c
patch
|
blob
|
history
diff --git
a/net/ipv4/ip_gre.c
b/net/ipv4/ip_gre.c
index 98769c399d9eb6267207e7a6249788d4fea30196..258c98d5fa79fb861fce41e45da19c6201e3a18a 100644
(file)
--- a/
net/ipv4/ip_gre.c
+++ b/
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");