]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv4/tcp_ipv4.c
[NETNS]: Inet control socket should not hold a namespace.
[net-next-2.6.git] / net / ipv4 / tcp_ipv4.c
index cfe5df76e14b1ad356369802190171967ad767d0..dc8c3dc75fe5e3cac006c87331ea819b475cfe93 100644 (file)
@@ -2491,7 +2491,7 @@ struct proto tcp_prot = {
 void __init tcp_v4_init(void)
 {
        if (inet_ctl_sock_create(&tcp_sock, PF_INET, SOCK_RAW,
-                                IPPROTO_TCP) < 0)
+                                IPPROTO_TCP, &init_net) < 0)
                panic("Failed to create the TCP control socket.\n");
 }