summaryrefslogtreecommitdiff
path: root/net/rds
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-03-13 13:37:21 +0300
committerDavid S. Miller <davem@davemloft.net>2018-03-13 11:24:56 -0400
commitc939a5e4d597d635dee4eab2f27308d50fa606f7 (patch)
tree8c2ff5997de05c8a6389393489f0d474e8497f6c /net/rds
parentafbbc374ab1281f2e5c18278a62a47fb906f0fa4 (diff)
net: Convert rds_tcp_net_ops
These pernet_operations create and destroy sysctl table and listen socket. Also, exit method flushes global workqueue and work. Everything looks per-net safe, so we can mark them async. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds')
-rw-r--r--net/rds/tcp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rds/tcp.c b/net/rds/tcp.c
index 08230a145042..eb04e7fa2467 100644
--- a/net/rds/tcp.c
+++ b/net/rds/tcp.c
@@ -515,6 +515,7 @@ static struct pernet_operations rds_tcp_net_ops = {
.exit = rds_tcp_exit_net,
.id = &rds_tcp_netid,
.size = sizeof(struct rds_tcp_net),
+ .async = true,
};
static void rds_tcp_kill_sock(struct net *net)