diff options
author | Thomas Graf <tgraf@suug.ch> | 2007-03-22 14:58:32 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:27:13 -0400 |
commit | c127ea2c45d1b13a672fde254679721bb282e90a (patch) | |
tree | 01569ce9d6a250b3f3e311a02ea1890327c3a36f /net/ipv6/af_inet6.c | |
parent | fa34ddd739cecf3999ec0b7562618e8321829d41 (diff) |
[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 7b917f856e1c..82572b507547 100644 --- a/net/ipv6/af_inet6.c +++ b/net/ipv6/af_inet6.c | |||
@@ -945,6 +945,8 @@ static void __exit inet6_exit(void) | |||
945 | { | 945 | { |
946 | /* First of all disallow new sockets creation. */ | 946 | /* First of all disallow new sockets creation. */ |
947 | sock_unregister(PF_INET6); | 947 | sock_unregister(PF_INET6); |
948 | /* Disallow any further netlink messages */ | ||
949 | rtnl_unregister_all(PF_INET6); | ||
948 | 950 | ||
949 | /* Cleanup code parts. */ | 951 | /* Cleanup code parts. */ |
950 | ipv6_packet_cleanup(); | 952 | ipv6_packet_cleanup(); |