Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
{