[IPv6]: Use rtnl registration interface
[deliverable/linux.git] / net / ipv6 / af_inet6.c
index 7b917f856e1c3f3869c70babedffe51543b10cf8..82572b507547e6bfff720a5e0d6dc8fdbe7c847a 100644 (file)
@@ -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();
This page took 0.029426 seconds and 5 git commands to generate.