]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
net: Convert rds_tcp_net_ops
authorKirill Tkhai <ktkhai@virtuozzo.com>
Tue, 13 Mar 2018 10:37:21 +0000 (13:37 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Mar 2018 15:24:56 +0000 (11:24 -0400)
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>
net/rds/tcp.c

index 08230a1450427c031bccae1920cdc461f593e10c..eb04e7fa2467f0b3bcf01a4302fc11bc8bb09a65 100644 (file)
@@ -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)