diff options
| author | Jozsef Kadlecsik <kadlec@netfilter.org> | 2026-07-30 20:38:50 +0200 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2026-07-31 15:57:38 +0200 |
| commit | 712a6f545c359b427daa9a5a782e30d2f8331e25 (patch) | |
| tree | 76f1eaf926e7357bcb6fcd84b7cdb2ea047d0e93 /tools/perf/scripts/python/bin | |
| parent | 8e5fd2a55e2468f6225ef5af01ae58cdbcbae8cf (diff) | |
netfilter: ipset: switch ext_size to atomic64_t
The hash types do not acquire set->lock, they use 'region locking' where
only part of the hash table is locked. Parallel inserts and deletes are
possible and CPUs can race on ->ext_size update. Switch to atomic64_t.
This leaves another bug unresolved: there still can be a race on
comment extension re-init. This will be handled in a later commit
when converting to rhashtable backend.
Fixes: f66ee0410b1c ("netfilter: ipset: Fix "INFO: rcu detected stall in hash_xxx" reports")
Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
