net: Convert ip_vs_ftp_ops
authorKirill Tkhai <ktkhai@virtuozzo.com>
Thu, 15 Mar 2018 09:11:44 +0000 (12:11 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Mar 2018 21:07:39 +0000 (17:07 -0400)
These pernet_operations register and unregister ipvs app.
register_ip_vs_app(), unregister_ip_vs_app() and
register_ip_vs_app_inc() modify per-net structures,
and there are no global structures touched. So,
this looks safe to be marked as async.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/ipvs/ip_vs_ftp.c

index 58d5d05aec24c5fcc0bb23f2ccceea887bfaa029..8b25aab419287dc307db0d7767a4869380cc5349 100644 (file)
@@ -479,6 +479,7 @@ static void __ip_vs_ftp_exit(struct net *net)
 static struct pernet_operations ip_vs_ftp_ops = {
        .init = __ip_vs_ftp_init,
        .exit = __ip_vs_ftp_exit,
+       .async = true,
 };
 
 static int __init ip_vs_ftp_init(void)