summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@netfilter.org>2026-05-14 10:55:11 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2026-05-16 13:21:41 +0200
commitc0c42a0fb27144c1cd7509f94bec0d3bcca98c72 (patch)
treeb675203894747f0dbc44a7197b748793bddd256a /tools/perf/scripts/python/stackcollapse.py
parent4322dcde6b4173c2d8e8e6118ed290794263bcc8 (diff)
netfilter: ipset: Fix data race between add and list header in all hash types
The "ipset list -terse" command is actually a dump operation which may run parallel with "ipset add" commands, which can trigger an internal resizing of the hash type of sets just being dumped. However, dumping just the header part of the set was not protected against underlying resizing. Fix it by protecting the header dumping part as well. Fixes: c4c997839cf9 ("netfilter: ipset: Fix parallel resizing and listing of the same set") Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions