lvs-devel
|
To: | davem@xxxxxxxxxxxxx, wensong@xxxxxxxxxxxx, horms@xxxxxxxxxxxx, ja@xxxxxx, pablo@xxxxxxxxxxxxx, kadlec@xxxxxxxxxxxxxxxxx, fw@xxxxxxxxx, pshelar@xxxxxxx, g.nault@xxxxxxxxxxxx, jchapman@xxxxxxxxxxx, lorenzo.bianconi@xxxxxxxxxx, dwindsor@xxxxxxxxx, elena.reshetova@xxxxxxxxx, dsahern@xxxxxxxxx, roopa@xxxxxxxxxxxxxxxxxxx, rshearma@xxxxxxxxxxx, dan.j.williams@xxxxxxxxx, amine.kherbouche@xxxxxxxxx, netdev@xxxxxxxxxxxxxxx, lvs-devel@xxxxxxxxxxxxxxx, netfilter-devel@xxxxxxxxxxxxxxx, dev@xxxxxxxxxxxxxxx, ktkhai@xxxxxxxxxxxxx |
---|---|
Subject: | [PATCH net-next 2/6] net: Convert mpls_net_ops |
From: | Kirill Tkhai <ktkhai@xxxxxxxxxxxxx> |
Date: | Thu, 15 Mar 2018 12:11:06 +0300 |
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@xxxxxxxxxxxxx> --- 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 = { -- To unsubscribe from this list: send the line "unsubscribe lvs-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [PATCH net-next 1/6] net: Convert l2tp_net_ops, Kirill Tkhai |
---|---|
Next by Date: | [PATCH net-next 3/6] net: Convert ovs_net_ops, Kirill Tkhai |
Previous by Thread: | Re: [PATCH net-next 1/6] net: Convert l2tp_net_ops, Guillaume Nault |
Next by Thread: | [PATCH net-next 3/6] net: Convert ovs_net_ops, Kirill Tkhai |
Indexes: | [Date] [Thread] [Top] [All Lists] |