diff options
author | 2023-09-05 12:52:24 +0200 | |
---|---|---|
committer | 2023-09-08 03:26:57 +0200 | |
commit | 96b33300fba880ec0eafcf3d82486f3463b4b6da (patch) | |
tree | 8e20324109e318e2a6cf9d96fc02232367543e73 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | netfilter: nf_tables: disallow rule removal from chain binding (diff) | |
download | wireguard-linux-96b33300fba880ec0eafcf3d82486f3463b4b6da.tar.xz wireguard-linux-96b33300fba880ec0eafcf3d82486f3463b4b6da.zip |
netfilter: nft_set_rbtree: use read spinlock to avoid datapath contention
rbtree GC does not modify the datastructure, instead it collects expired
elements and it enqueues a GC transaction. Use a read spinlock instead
to avoid data contention while GC worker is running.
Fixes: f6c383b8c31a ("netfilter: nf_tables: adapt set backend to use GC transaction API")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions