Commit c939a5e4d597d635dee4eab2f27308d50fa606f7

Authored by Kirill Tkhai
Committed by David S. Miller
1 parent afbbc374ab

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -515,6 +515,7 @@
515 515 .exit = rds_tcp_exit_net,
516 516 .id = &rds_tcp_netid,
517 517 .size = sizeof(struct rds_tcp_net),
  518 + .async = true,
518 519 };
519 520  
520 521 static void rds_tcp_kill_sock(struct net *net)