[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <152110510435.28582.5460074990390145177.stgit@localhost.localdomain>
Date: Thu, 15 Mar 2018 12:11:44 +0300
From: Kirill Tkhai <ktkhai@...tuozzo.com>
To: davem@...emloft.net, wensong@...ux-vs.org, horms@...ge.net.au,
ja@....bg, pablo@...filter.org, kadlec@...ckhole.kfki.hu,
fw@...len.de, pshelar@....org, g.nault@...halink.fr,
jchapman@...alix.com, lorenzo.bianconi@...hat.com,
dwindsor@...il.com, elena.reshetova@...el.com, dsahern@...il.com,
roopa@...ulusnetworks.com, rshearma@...cade.com,
dan.j.williams@...el.com, amine.kherbouche@...nd.com,
netdev@...r.kernel.org, lvs-devel@...r.kernel.org,
netfilter-devel@...r.kernel.org, dev@...nvswitch.org,
ktkhai@...tuozzo.com
Subject: [PATCH net-next 6/6] net: Convert ip_vs_ftp_ops
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@...tuozzo.com>
---
net/netfilter/ipvs/ip_vs_ftp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/netfilter/ipvs/ip_vs_ftp.c b/net/netfilter/ipvs/ip_vs_ftp.c
index 58d5d05aec24..8b25aab41928 100644
--- a/net/netfilter/ipvs/ip_vs_ftp.c
+++ b/net/netfilter/ipvs/ip_vs_ftp.c
@@ -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)
Powered by blists - more mailing lists