aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/addrconf.c
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-02-19 11:49:10 +0300
committerDavid S. Miller <davem@davemloft.net>2018-02-19 14:19:10 -0500
commit509114112d0b71997dbe58d4f2976eeddf8eacc4 (patch)
treeb64f9240365a9977f1118b48bad4afcab62e03e6 /net/ipv6/addrconf.c
parentnet: Convert icmpv6_sk_ops, ndisc_net_ops and igmp6_net_ops (diff)
downloadlinux-dev-509114112d0b71997dbe58d4f2976eeddf8eacc4.tar.xz
linux-dev-509114112d0b71997dbe58d4f2976eeddf8eacc4.zip
net: Convert raw6_net_ops, udplite6_net_ops, ipv6_proc_ops, if6_proc_net_ops and ip6_route_net_late_ops
These pernet_operations create and destroy /proc entries and safely may be converted and safely may be mark as async. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r--net/ipv6/addrconf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index 8c17f8d8d5d9..4facfe0b1888 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -4257,6 +4257,7 @@ static void __net_exit if6_proc_net_exit(struct net *net)
static struct pernet_operations if6_proc_net_ops = {
.init = if6_proc_net_init,
.exit = if6_proc_net_exit,
+ .async = true,
};
int __init if6_proc_init(void)