aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-02-13 12:30:27 +0300
committerDavid S. Miller <davem@davemloft.net>2018-02-13 10:36:09 -0500
commit0bc9be67185ec90feedc971af6e7b84ab932703a (patch)
tree9fdfb4f51b278a34faedf126ef42395e99070b63 /net/ipv6
parentnet: Convert ipv4_sysctl_ops (diff)
downloadlinux-dev-0bc9be67185ec90feedc971af6e7b84ab932703a.tar.xz
linux-dev-0bc9be67185ec90feedc971af6e7b84ab932703a.zip
net: Convert addrconf_ops
These pernet_operations (un)register sysctl, which are not touched by anybody else. So, it's safe to make them async. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Acked-by: Andrei Vagin <avagin@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-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 e1846b97ee69..8c17f8d8d5d9 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -6550,6 +6550,7 @@ static void __net_exit addrconf_exit_net(struct net *net)
static struct pernet_operations addrconf_ops = {
.init = addrconf_init_net,
.exit = addrconf_exit_net,
+ .async = true,
};
static struct rtnl_af_ops inet6_ops __read_mostly = {