[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <152110506653.28582.3966480691261586346.stgit@localhost.localdomain>
Date: Thu, 15 Mar 2018 12:11:06 +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 2/6] net: Convert mpls_net_ops
These pernet_operations register and unregister sysctl table.
Exit methods frees platform_labels from net::mpls::platform_label.
Everything is per-net, and they looks safe to be marked async.
Signed-off-by: Kirill Tkhai <ktkhai@...tuozzo.com>
---
net/mpls/af_mpls.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/mpls/af_mpls.c b/net/mpls/af_mpls.c
index 7a4de6d618b1..d4a89a8be013 100644
--- a/net/mpls/af_mpls.c
+++ b/net/mpls/af_mpls.c
@@ -2488,6 +2488,7 @@ static void mpls_net_exit(struct net *net)
static struct pernet_operations mpls_net_ops = {
.init = mpls_net_init,
.exit = mpls_net_exit,
+ .async = true,
};
static struct rtnl_af_ops mpls_af_ops __read_mostly = {
Powered by blists - more mailing lists