diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-02-19 11:49:10 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-19 14:19:10 -0500 |
commit | 509114112d0b71997dbe58d4f2976eeddf8eacc4 (patch) | |
tree | b64f9240365a9977f1118b48bad4afcab62e03e6 /net/ipv6/route.c | |
parent | 1a2e93329dd413585798c122aac0607093b2d379 (diff) | |
download | lwn-509114112d0b71997dbe58d4f2976eeddf8eacc4.tar.gz lwn-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/route.c')
-rw-r--r-- | net/ipv6/route.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index f0baae26db8f..1be84ef23f43 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -4972,6 +4972,7 @@ static void __net_exit ip6_route_net_exit_late(struct net *net) static struct pernet_operations ip6_route_net_ops = { .init = ip6_route_net_init, .exit = ip6_route_net_exit, + .async = true, }; static int __net_init ipv6_inetpeer_init(struct net *net) @@ -5002,6 +5003,7 @@ static struct pernet_operations ipv6_inetpeer_ops = { static struct pernet_operations ip6_route_net_late_ops = { .init = ip6_route_net_init_late, .exit = ip6_route_net_exit_late, + .async = true, }; static struct notifier_block ip6_route_dev_notifier = { |