mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 23:58:05 +00:00
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>
This commit is contained in:
parent
afbbc374ab
commit
c939a5e4d5
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue