diff options
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 7b917f856e1..82572b50754 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(); |