aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-03-27 11:02:13 -0400
committerDavid S. Miller <davem@davemloft.net>2018-03-27 13:18:09 -0400
commit2f635ceeb22ba13c307236d69795fbb29cfa3e7c (patch)
treefe8b187d1530a7e434aecaf2d5a9565247f0263e /net/ipv4/tcp_ipv4.c
parent094374e5e173c6639eccf6a2af5e1357a0869848 (diff)
net: Drop pernet_operations::async
Synchronous pernet_operations are not allowed anymore. All are asynchronous. So, drop the structure member. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r--net/ipv4/tcp_ipv4.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index fec8b1fd7b63..9639334ebb7c 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -2391,7 +2391,6 @@ static void __net_exit tcp4_proc_exit_net(struct net *net)
2391static struct pernet_operations tcp4_net_ops = { 2391static struct pernet_operations tcp4_net_ops = {
2392 .init = tcp4_proc_init_net, 2392 .init = tcp4_proc_init_net,
2393 .exit = tcp4_proc_exit_net, 2393 .exit = tcp4_proc_exit_net,
2394 .async = true,
2395}; 2394};
2396 2395
2397int __init tcp4_proc_init(void) 2396int __init tcp4_proc_init(void)
@@ -2578,7 +2577,6 @@ static struct pernet_operations __net_initdata tcp_sk_ops = {
2578 .init = tcp_sk_init, 2577 .init = tcp_sk_init,
2579 .exit = tcp_sk_exit, 2578 .exit = tcp_sk_exit,
2580 .exit_batch = tcp_sk_exit_batch, 2579 .exit_batch = tcp_sk_exit_batch,
2581 .async = true,
2582}; 2580};
2583 2581
2584void __init tcp_v4_init(void) 2582void __init tcp_v4_init(void)