|
@@ -2443,7 +2443,7 @@ static struct pernet_operations __net_initdata tcp_sk_ops = {
|
|
void __init tcp_v4_init(void)
|
|
void __init tcp_v4_init(void)
|
|
{
|
|
{
|
|
inet_hashinfo_init(&tcp_hashinfo);
|
|
inet_hashinfo_init(&tcp_hashinfo);
|
|
- if (register_pernet_device(&tcp_sk_ops))
|
|
|
|
|
|
+ if (register_pernet_subsys(&tcp_sk_ops))
|
|
panic("Failed to create the TCP control socket.\n");
|
|
panic("Failed to create the TCP control socket.\n");
|
|
}
|
|
}
|
|
|
|
|