Ubuntu-focal-kernel/net/netfilter/ipset
Alexander Maltsev 565eb5e335 netfilter: ipset: Add list flush to cancel_gc
BugLink: https://bugs.launchpad.net/bugs/2078388

[ Upstream commit c1193d9bbbd379defe9be3c6de566de684de8a6f ]

Flushing list in cancel_gc drops references to other lists right away,
without waiting for RCU to destroy list. Fixes race when referenced
ipsets can't be destroyed while referring list is scheduled for destroy.

Fixes: 97f7cf1cd80e ("netfilter: ipset: fix performance regression in swap operation")
Signed-off-by: Alexander Maltsev <keltar.gw@gmail.com>
Acked-by: Jozsef Kadlecsik <kadlec@netfilter.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Koichiro Den <koichiro.den@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
2024-09-27 10:50:18 +02:00
..
Kconfig
Makefile
ip_set_bitmap_gen.h netfilter: ipset: fix performance regression in swap operation 2024-03-28 15:18:44 +01:00
ip_set_bitmap_ip.c
ip_set_bitmap_ipmac.c
ip_set_bitmap_port.c
ip_set_core.c netfilter: ipset: Fix suspicious rcu_dereference_protected() 2024-08-02 16:16:19 +02:00
ip_set_getport.c
ip_set_hash_gen.h netfilter: ipset: Missing gc cancellations fixed 2024-03-28 15:18:44 +01:00
ip_set_hash_ip.c
ip_set_hash_ipmac.c
ip_set_hash_ipmark.c
ip_set_hash_ipport.c
ip_set_hash_ipportip.c
ip_set_hash_ipportnet.c
ip_set_hash_mac.c
ip_set_hash_net.c
ip_set_hash_netiface.c
ip_set_hash_netnet.c
ip_set_hash_netport.c
ip_set_hash_netportnet.c netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c 2023-10-02 12:12:17 +02:00
ip_set_list_set.c netfilter: ipset: Add list flush to cancel_gc 2024-09-27 10:50:18 +02:00
pfxlen.c