]> git.baikalelectronics.ru Git - kernel.git/commit
net: Convert ip6_frags_ops
authorKirill Tkhai <ktkhai@virtuozzo.com>
Mon, 19 Feb 2018 08:50:37 +0000 (11:50 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Feb 2018 19:19:11 +0000 (14:19 -0500)
commitbfa8f8f2c9c94811ba534859b8745e863a62801a
tree8ec9f2edddea729aae4b5d9cffa729c5a877c378
parent890c367b72a517be89c3c5b24a4b05081bae11c7
net: Convert ip6_frags_ops

Exit methods calls inet_frags_exit_net() with global ip6_frags
as argument. So, after we make the pernet_operations async,
a pair of exit methods may be called to iterate this hash table.
Since there is inet_frag_worker(), which already may work
in parallel with inet_frags_exit_net(), and it can make the same
cleanup, that inet_frags_exit_net() does, it's safe. So we may
mark these pernet_operations as async.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/reassembly.c