aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/vxlan.c
diff options
context:
space:
mode:
authorCong Wang <amwang@redhat.com>2013-05-27 22:35:53 +0000
committerDavid S. Miller <davem@davemloft.net>2013-05-28 23:53:52 -0700
commit7332a13b038be05cf44fcf0cacfdd8aade77b16f (patch)
tree5584ca8159ad298a5b35b5ba6617a1be1bea43ec /drivers/net/vxlan.c
parentvxlan: use unsigned int instead of unsigned (diff)
downloadlinux-dev-7332a13b038be05cf44fcf0cacfdd8aade77b16f.tar.xz
linux-dev-7332a13b038be05cf44fcf0cacfdd8aade77b16f.zip
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>
Diffstat (limited to 'drivers/net/vxlan.c')
-rw-r--r--drivers/net/vxlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index 6fc962042046..8111565c35fc 100644
--- 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)
{