Netdev List
 help / color / mirror / Atom feed
From: Kirill Tkhai <ktkhai-5HdwGun5lf+gSpxsJD1C4w@public.gmane.org>
To: davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org,
	wensong-ud5FBsm0p/xg9hUCZPvPmw@public.gmane.org,
	horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org,
	ja-FgGsKACvmQM@public.gmane.org,
	pablo-Cap9r6Oaw4JrovVCs/uTlw@public.gmane.org,
	kadlec-K40Dz/62t/MgiyqX0sVFJYdd74u8MsAO@public.gmane.org,
	fw-HFFVJYpyMKqzQB+pC5nmwQ@public.gmane.org,
	pshelar-LZ6Gd1LRuIk@public.gmane.org,
	g.nault-pHk1y4uTXVDytLWWfqlThQ@public.gmane.org,
	jchapman-Bm0nJX+W7e9BDgjK7y7TUQ@public.gmane.org,
	lorenzo.bianconi-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
	dwindsor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	elena.reshetova-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org,
	dsahern-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	roopa-qUQiAmfTcIp+XZJcv9eMoEEOCMrvLtNR@public.gmane.org,
	rshearma-43mecJUBy8ZBDgjK7y7TUQ@public.gmane.org,
	dan.j.williams-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org,
	amine.kherbouche-pdR9zngts4EAvxtiuMwx3w@public.gmane.org,
	netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	lvs-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	netfilter-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	dev-yBygre7rU0TnMu66kgdUjQ@public.gmane.org,
	ktkhai-5HdwGun5lf+gSpxsJD1C4w@public.gmane.org
Subject: [PATCH net-next 6/6] net: Convert ip_vs_ftp_ops
Date: Thu, 15 Mar 2018 12:11:44 +0300	[thread overview]
Message-ID: <152110510435.28582.5460074990390145177.stgit@localhost.localdomain> (raw)
In-Reply-To: <152110491273.28582.13804059107038714030.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>

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-5HdwGun5lf+gSpxsJD1C4w@public.gmane.org>
---
 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)

  parent reply	other threads:[~2018-03-15  9:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-15  9:10 [PATCH net-next 0/6] Converting pernet_operations (part #8) Kirill Tkhai
     [not found] ` <152110491273.28582.13804059107038714030.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2018-03-15  9:10   ` [PATCH net-next 1/6] net: Convert l2tp_net_ops Kirill Tkhai
     [not found]     ` <152110505785.28582.3727938208418496683.stgit-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2018-03-15 15:52       ` Guillaume Nault
2018-03-15  9:11   ` [PATCH net-next 2/6] net: Convert mpls_net_ops Kirill Tkhai
2018-03-15  9:11   ` [PATCH net-next 3/6] net: Convert ovs_net_ops Kirill Tkhai
2018-03-15  9:11   ` [PATCH net-next 4/6] net: Convert ipvs_core_ops Kirill Tkhai
2018-03-15  9:11   ` [PATCH net-next 5/6] net: Convert ipvs_core_dev_ops Kirill Tkhai
2018-03-15  9:11   ` Kirill Tkhai [this message]
2018-03-15 20:32   ` [PATCH net-next 0/6] Converting pernet_operations (part #8) Julian Anastasov
2018-03-17 21:07   ` David Miller
     [not found]     ` <20180317.170757.485564313326587221.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2018-03-17 21:13       ` Kirill Tkhai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=152110510435.28582.5460074990390145177.stgit@localhost.localdomain \
    --to=ktkhai-5hdwgun5lf+gspxsjd1c4w@public.gmane.org \
    --cc=amine.kherbouche-pdR9zngts4EAvxtiuMwx3w@public.gmane.org \
    --cc=dan.j.williams-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org \
    --cc=dev-yBygre7rU0TnMu66kgdUjQ@public.gmane.org \
    --cc=dsahern-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=dwindsor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=elena.reshetova-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=fw-HFFVJYpyMKqzQB+pC5nmwQ@public.gmane.org \
    --cc=g.nault-pHk1y4uTXVDytLWWfqlThQ@public.gmane.org \
    --cc=horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org \
    --cc=ja-FgGsKACvmQM@public.gmane.org \
    --cc=jchapman-Bm0nJX+W7e9BDgjK7y7TUQ@public.gmane.org \
    --cc=kadlec-K40Dz/62t/MgiyqX0sVFJYdd74u8MsAO@public.gmane.org \
    --cc=lorenzo.bianconi-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=lvs-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=netfilter-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=pablo-Cap9r6Oaw4JrovVCs/uTlw@public.gmane.org \
    --cc=pshelar-LZ6Gd1LRuIk@public.gmane.org \
    --cc=roopa-qUQiAmfTcIp+XZJcv9eMoEEOCMrvLtNR@public.gmane.org \
    --cc=rshearma-43mecJUBy8ZBDgjK7y7TUQ@public.gmane.org \
    --cc=wensong-ud5FBsm0p/xg9hUCZPvPmw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox