summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@netfilter.org>2023-12-11 11:30:30 +0100
committerJozsef Kadlecsik <kadlec@netfilter.org>2023-12-11 11:30:30 +0100
commitb15dd2752a2d666358a42285528805bf2835f6c6 (patch)
tree445f8fa3ed851fb347896355fb03849b258512be /include
parent74f6e7b96229c6fd2a0e5fb8bb75e81b3fde9a59 (diff)
netfilter: ipset: fix race condition between swap/destroy and kernel side add/del/test v3
Florian Westphal pointed out that all netfilter hooks run with rcu_read_lock() held and em_ipset.c wraps the entire ip_set_test() in rcu read lock/unlock pair. So there's no need to extend the rcu read locked area in ipset itself. Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions