diff options
author | Cong Wang <amwang@redhat.com> | 2013-05-27 22:35:53 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-28 23:53:52 -0700 |
commit | 7332a13b038be05cf44fcf0cacfdd8aade77b16f (patch) | |
tree | 5584ca8159ad298a5b35b5ba6617a1be1bea43ec /drivers | |
parent | 31fec5aa21d166cf81702a669c1398784b513b8a (diff) |
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')
-rw-r--r-- | 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 6fc96204204..8111565c35f 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) { |