]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitccf0ad987f542f78866b1cb8596f6984ca71f873
treec000cdaf425d45706935d6b8a3ff878bf58cd7cf
parentcd7d6a8cd0064e31ac34b0da4c103449e5c82b3c
[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