Files
kernel_arpi/include/linux
Florian Westphal 7824d5a993 netfilter: arp_tables: add pre_exit hook for table unregister
commit d163a925eb upstream.

Same problem that also existed in iptables/ip(6)tables, when
arptable_filter is removed there is no longer a wait period before the
table/ruleset is free'd.

Unregister the hook in pre_exit, then remove the table in the exit
function.
This used to work correctly because the old nf_hook_unregister API
did unconditional synchronize_net.

The per-net hook unregister function uses call_rcu instead.

Fixes: b9e69e1273 ("netfilter: xtables: don't hook tables by default")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-04-21 13:00:56 +02:00
..
2021-04-14 08:42:11 +02:00
2020-10-28 13:18:56 +01:00
2021-04-07 15:00:03 +02:00
2020-10-16 17:21:51 +02:00
2020-12-11 14:02:14 -08:00
2020-12-26 16:02:43 +01:00
2020-11-19 22:38:29 -05:00
2021-03-04 11:37:59 +01:00
2021-02-07 15:37:17 +01:00
2021-03-30 14:31:52 +02:00
2021-03-30 14:32:05 +02:00
2020-10-18 09:27:10 -07:00
2020-11-06 10:05:18 -08:00
2021-03-07 12:34:15 +01:00