提交 7332a13b 编写于 作者: C Cong Wang 提交者: 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: NCong Wang <amwang@redhat.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册