diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-02-19 11:50:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-19 14:19:11 -0500 |
commit | a7852a76f414f69631ed3adc4b001c633829306d (patch) | |
tree | 92367d2daa98dfc82df0939555b300bb875a84e5 /net/ipv6/ip6_flowlabel.c | |
parent | ac34cb6c0c4d327d69e588d7a42bbc6428e2fdfd (diff) | |
download | linux-a7852a76f414f69631ed3adc4b001c633829306d.tar.bz2 |
net: Convert ip6_flowlabel_net_ops
These pernet_operations create and destroy /proc entries.
ip6_fl_purge() makes almost the same actions as timer
ip6_fl_gc_timer does, and as it can be executed in parallel
with ip6_fl_purge(), two parallel ip6_fl_purge() may be
executed. So, we can mark it async.
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_flowlabel.c')
-rw-r--r-- | net/ipv6/ip6_flowlabel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/ip6_flowlabel.c b/net/ipv6/ip6_flowlabel.c index 3dab664ff503..6ddf52282894 100644 --- a/net/ipv6/ip6_flowlabel.c +++ b/net/ipv6/ip6_flowlabel.c @@ -873,6 +873,7 @@ static void __net_exit ip6_flowlabel_net_exit(struct net *net) static struct pernet_operations ip6_flowlabel_net_ops = { .init = ip6_flowlabel_proc_init, .exit = ip6_flowlabel_net_exit, + .async = true, }; int ip6_flowlabel_init(void) |