Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Cong Wang and committed by
David S. Miller
7332a13b 31fec5aa

+1 -1
+1 -1
drivers/net/vxlan.c
··· 1771 1771 out1: 1772 1772 return rc; 1773 1773 } 1774 - module_init(vxlan_init_module); 1774 + late_initcall(vxlan_init_module); 1775 1775 1776 1776 static void __exit vxlan_cleanup_module(void) 1777 1777 {