[IPV6]: Adjust inet6_exit() cleanup sequence against inet6_init()
authorJoe Jin <joe.jin@oracle.com>
Tue, 20 Feb 2007 09:30:15 +0000 (01:30 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 26 Feb 2007 19:42:44 +0000 (11:42 -0800)
commitca17c23345308a8692a65a0cca363d9108a665ca
treec000cdaf425d45706935d6b8a3ff878bf58cd7cf
parentd3f23dfe8bbb6bf352a208755e4ff2806315067b
[IPV6]: Adjust inet6_exit() cleanup sequence against inet6_init()

This patch for adjust inet6_exit() to inverse sequence to inet6_init().

At ipv6_init, it first create proc_root/net/dev_snmp6 entry by call
ipv6_misc_proc_init(), then call addrconf_init() to create the corresponding
device entry at this directory, but at inet6_exit, ipv6_misc_proc_exit()
called first, then call addrconf_init().

Signed-off-by: Joe Jin <joe.jin@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/af_inet6.c