Skip to content

Commit

Permalink
[IPV6]: Makes IPv6 rcv registration happen last during initialisation.
Browse files Browse the repository at this point in the history
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Herbert Xu authored and David S. Miller committed Jul 5, 2005
1 parent 30e224d commit e2ed405
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/ipv6/af_inet6.c
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,6 @@ static int __init inet6_init(void)
if (if6_proc_init())
goto proc_if6_fail;
#endif
ipv6_packet_init();
ip6_route_init();
ip6_flowlabel_init();
err = addrconf_init();
Expand All @@ -791,14 +790,15 @@ static int __init inet6_init(void)
/* Init v6 transport protocols. */
udpv6_init();
tcpv6_init();

ipv6_packet_init();
err = 0;
out:
return err;

addrconf_fail:
ip6_flowlabel_cleanup();
ip6_route_cleanup();
ipv6_packet_cleanup();
#ifdef CONFIG_PROC_FS
if6_proc_exit();
proc_if6_fail:
Expand Down

0 comments on commit e2ed405

Please sign in to comment.