mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
netfilter: nft_set_hash: GC reaps elements with conncount for dynamic sets only
[ Upstream commit9d74da1177] conncount has its own GC handler which determines when to reap stale elements, this is convenient for dynamic sets. However, this also reaps non-dynamic sets with static configurations coming from control plane. Always run connlimit gc handler but honor feedback to reap element if this set is dynamic. Fixes:290180e244("netfilter: nf_tables: add connlimit support") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
018e6cf250
commit
b87f19c495
1 changed files with 2 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue