diff options
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 3c11d992d784..f70586b50838 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -2230,7 +2230,7 @@ int tcp_proc_register(struct net *net, struct tcp_seq_afinfo *afinfo) | |||
2230 | afinfo->seq_ops.next = tcp_seq_next; | 2230 | afinfo->seq_ops.next = tcp_seq_next; |
2231 | afinfo->seq_ops.stop = tcp_seq_stop; | 2231 | afinfo->seq_ops.stop = tcp_seq_stop; |
2232 | 2232 | ||
2233 | p = proc_create_data(afinfo->name, S_IRUGO, net->proc_net, | 2233 | p = proc_create_data(afinfo->name, 0444, net->proc_net, |
2234 | afinfo->seq_fops, afinfo); | 2234 | afinfo->seq_fops, afinfo); |
2235 | if (!p) | 2235 | if (!p) |
2236 | rc = -ENOMEM; | 2236 | rc = -ENOMEM; |
@@ -2406,7 +2406,6 @@ static void __net_exit tcp4_proc_exit_net(struct net *net) | |||
2406 | static struct pernet_operations tcp4_net_ops = { | 2406 | static struct pernet_operations tcp4_net_ops = { |
2407 | .init = tcp4_proc_init_net, | 2407 | .init = tcp4_proc_init_net, |
2408 | .exit = tcp4_proc_exit_net, | 2408 | .exit = tcp4_proc_exit_net, |
2409 | .async = true, | ||
2410 | }; | 2409 | }; |
2411 | 2410 | ||
2412 | int __init tcp4_proc_init(void) | 2411 | int __init tcp4_proc_init(void) |
@@ -2594,7 +2593,6 @@ static struct pernet_operations __net_initdata tcp_sk_ops = { | |||
2594 | .init = tcp_sk_init, | 2593 | .init = tcp_sk_init, |
2595 | .exit = tcp_sk_exit, | 2594 | .exit = tcp_sk_exit, |
2596 | .exit_batch = tcp_sk_exit_batch, | 2595 | .exit_batch = tcp_sk_exit_batch, |
2597 | .async = true, | ||
2598 | }; | 2596 | }; |
2599 | 2597 | ||
2600 | void __init tcp_v4_init(void) | 2598 | void __init tcp_v4_init(void) |