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

Commit 58708cae authored by Kirill Tkhai's avatar Kirill Tkhai Committed by David S. Miller
Browse files

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: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fef65a2c
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -251,6 +251,7 @@ static void __net_exit ipv6_sysctl_net_exit(struct net *net)
static struct pernet_operations ipv6_sysctl_net_ops = {
static struct pernet_operations ipv6_sysctl_net_ops = {
	.init = ipv6_sysctl_net_init,
	.init = ipv6_sysctl_net_init,
	.exit = ipv6_sysctl_net_exit,
	.exit = ipv6_sysctl_net_exit,
	.async = true,
};
};


static struct ctl_table_header *ip6_header;
static struct ctl_table_header *ip6_header;