aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-02-19 11:48:37 +0300
committerDavid S. Miller <davem@davemloft.net>2018-02-19 14:19:10 -0500
commitb01a59a4884ed2d95b8db4741e552a689c18989b (patch)
tree673e47c28dbe0be3e3d8ac8803040719135c9b0c /net/ipv6
parentnet: Convert cfg80211_pernet_ops (diff)
downloadlinux-dev-b01a59a4884ed2d95b8db4741e552a689c18989b.tar.xz
linux-dev-b01a59a4884ed2d95b8db4741e552a689c18989b.zip
net: Convert ip6mr_net_ops
These pernet_operations create and destroy /proc entries, populate and depopulate net::rules_ops and multiroute table. All the structures are pernet, and they are not touched by foreign net pernet_operations. So, it's possible to mark them async. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/ipv6/ip6mr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c
index 9f6cace9c817..295eb5ecaee5 100644
--- a/net/ipv6/ip6mr.c
+++ b/net/ipv6/ip6mr.c
@@ -1397,6 +1397,7 @@ static void __net_exit ip6mr_net_exit(struct net *net)
static struct pernet_operations ip6mr_net_ops = {
.init = ip6mr_net_init,
.exit = ip6mr_net_exit,
+ .async = true,
};
int __init ip6_mr_init(void)