diff options
author | Thomas Graf <tgraf@suug.ch> | 2007-03-22 11:58:32 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-25 22:27:13 -0700 |
commit | c127ea2c45d1b13a672fde254679721bb282e90a (patch) | |
tree | 01569ce9d6a250b3f3e311a02ea1890327c3a36f /net/ipv6/af_inet6.c | |
parent | fa34ddd739cecf3999ec0b7562618e8321829d41 (diff) | |
download | op-kernel-dev-c127ea2c45d1b13a672fde254679721bb282e90a.zip op-kernel-dev-c127ea2c45d1b13a672fde254679721bb282e90a.tar.gz |
[IPv6]: Use rtnl registration interface
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/af_inet6.c')
-rw-r--r-- | net/ipv6/af_inet6.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c index 7b917f8..82572b50 100644 --- a/net/ipv6/af_inet6.c +++ b/net/ipv6/af_inet6.c @@ -945,6 +945,8 @@ static void __exit inet6_exit(void) { /* First of all disallow new sockets creation. */ sock_unregister(PF_INET6); + /* Disallow any further netlink messages */ + rtnl_unregister_all(PF_INET6); /* Cleanup code parts. */ ipv6_packet_cleanup(); |