mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-01 18:21:29 +00:00
netfilter: nft_set_rbtree: use read spinlock to avoid datapath contention
commit96b33300fbupstream. 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:f6c383b8c3("netfilter: nf_tables: adapt set backend to use GC transaction API") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
9a8c544158
commit
92b4b4bde9
1 changed files with 2 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue