Subject: [Patch net-next v5 1/5] vxlan: defer vxlan init as late as possible

From: Cong Wang <[email-masked]>
Date: Sun, 21 Apr 2013 22:23:08 +0800

From: Cong Wang <[email-masked]>

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 <[email-masked]>
Cc: David S. Miller <[email-masked]>
Signed-off-by: Cong Wang <[email-masked]>
---
 drivers/net/vxlan.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index 916a621..f8ac900 100644
--- a/drivers/net/vxlan.c
+++ b/drivers/net/vxlan.c
@@ -1635,7 +1635,7 @@ out2:
 out1:
 	return rc;
 }
-module_init(vxlan_init_module);
+late_initcall(vxlan_init_module);
 
 static void __exit vxlan_cleanup_module(void)
 {
-- 
1.7.7.6