aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/sysctl_net_ipv6.c
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-02-19 11:49:49 +0300
committerDavid S. Miller <davem@davemloft.net>2018-02-19 14:19:11 -0500
commit58708caef56b04da2c91d6aaba49c783f22055c2 (patch)
tree328eb1e287042276df8fae77e0037934835d7119 /net/ipv6/sysctl_net_ipv6.c
parentnet: Convert tcpv6_net_ops (diff)
downloadlinux-dev-58708caef56b04da2c91d6aaba49c783f22055c2.tar.xz
linux-dev-58708caef56b04da2c91d6aaba49c783f22055c2.zip
net: Convert ipv6_sysctl_net_ops
These pernet_operations create and destroy sysctl tables. They are not touched by another net pernet_operations. So, it's possible to execute them in parallel with others. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/sysctl_net_ipv6.c')
-rw-r--r--net/ipv6/sysctl_net_ipv6.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/sysctl_net_ipv6.c b/net/ipv6/sysctl_net_ipv6.c
index a789a8ac6a64..262f791f1b9b 100644
--- a/net/ipv6/sysctl_net_ipv6.c
+++ b/net/ipv6/sysctl_net_ipv6.c
@@ -251,6 +251,7 @@ static void __net_exit ipv6_sysctl_net_exit(struct net *net)
static struct pernet_operations ipv6_sysctl_net_ops = {
.init = ipv6_sysctl_net_init,
.exit = ipv6_sysctl_net_exit,
+ .async = true,
};
static struct ctl_table_header *ip6_header;