Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0bc9be67 authored by Kirill Tkhai's avatar Kirill Tkhai Committed by David S. Miller
Browse files

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: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
Acked-by: default avatarAndrei Vagin <avagin@virtuozzo.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 22769a2a
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -6550,6 +6550,7 @@ static void __net_exit addrconf_exit_net(struct net *net)
static struct pernet_operations addrconf_ops = {
static struct pernet_operations addrconf_ops = {
	.init = addrconf_init_net,
	.init = addrconf_init_net,
	.exit = addrconf_exit_net,
	.exit = addrconf_exit_net,
	.async = true,
};
};


static struct rtnl_af_ops inet6_ops __read_mostly = {
static struct rtnl_af_ops inet6_ops __read_mostly = {