Commit e2ed4052 authored by Herbert Xu's avatar Herbert Xu Committed by David S. Miller

[IPV6]: Makes IPv6 rcv registration happen last during initialisation.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 30e224d7
...@@ -774,7 +774,6 @@ static int __init inet6_init(void) ...@@ -774,7 +774,6 @@ static int __init inet6_init(void)
if (if6_proc_init()) if (if6_proc_init())
goto proc_if6_fail; goto proc_if6_fail;
#endif #endif
ipv6_packet_init();
ip6_route_init(); ip6_route_init();
ip6_flowlabel_init(); ip6_flowlabel_init();
err = addrconf_init(); err = addrconf_init();
...@@ -791,6 +790,8 @@ static int __init inet6_init(void) ...@@ -791,6 +790,8 @@ static int __init inet6_init(void)
/* Init v6 transport protocols. */ /* Init v6 transport protocols. */
udpv6_init(); udpv6_init();
tcpv6_init(); tcpv6_init();
ipv6_packet_init();
err = 0; err = 0;
out: out:
return err; return err;
...@@ -798,7 +799,6 @@ static int __init inet6_init(void) ...@@ -798,7 +799,6 @@ static int __init inet6_init(void)
addrconf_fail: addrconf_fail:
ip6_flowlabel_cleanup(); ip6_flowlabel_cleanup();
ip6_route_cleanup(); ip6_route_cleanup();
ipv6_packet_cleanup();
#ifdef CONFIG_PROC_FS #ifdef CONFIG_PROC_FS
if6_proc_exit(); if6_proc_exit();
proc_if6_fail: proc_if6_fail:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment