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:
31fec5a
)
vxlan: defer vxlan init as late as possible
author
Cong Wang
<
[email protected]
>
Mon, 27 May 2013 22:35:53 +0000
(22:35 +0000)
committer
David S. Miller
<
[email protected]
>
Wed, 29 May 2013 06:53:52 +0000
(23:53 -0700)
When vxlan is compiled as builtin, its init code
runs before IPv6 init, this could cause problems
if we create IPv6 socket in the latter patch.
Cc: Stephen Hemminger <
[email protected]
>
Cc: David S. Miller <
[email protected]
>
Signed-off-by: Cong Wang <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/vxlan.c
patch
|
blob
|
history
diff --git
a/drivers/net/vxlan.c
b/drivers/net/vxlan.c
index 6fc9620420469db9816269412e7a3e939fbc6875..8111565c35fceec89b3da0afcf0e8861a19eed40 100644
(file)
--- a/
drivers/net/vxlan.c
+++ b/
drivers/net/vxlan.c
@@
-1771,7
+1771,7
@@
out2:
out1:
return rc;
}
-
module_init
(vxlan_init_module);
+
late_initcall
(vxlan_init_module);
static void __exit vxlan_cleanup_module(void)
{