Commit 7332a13b authored by Cong Wang's avatar Cong Wang Committed by David S. Miller

vxlan: defer vxlan init as late as possible

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 <stephen@networkplumber.org>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: default avatarCong Wang <amwang@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 31fec5aa
......@@ -1771,7 +1771,7 @@ static int __init vxlan_init_module(void)
out1:
return rc;
}
module_init(vxlan_init_module);
late_initcall(vxlan_init_module);
static void __exit vxlan_cleanup_module(void)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment