diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-09-05 13:52:24 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-09-08 04:26:57 +0300 |
commit | 96b33300fba880ec0eafcf3d82486f3463b4b6da (patch) | |
tree | 8e20324109e318e2a6cf9d96fc02232367543e73 /crypto/af_alg.c | |
parent | f15f29fd4779be8a418b66e9d52979bb6d6c2325 (diff) | |
download | linux-96b33300fba880ec0eafcf3d82486f3463b4b6da.tar.xz |
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 'crypto/af_alg.c')
0 files changed, 0 insertions, 0 deletions