mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
netfilter: nf_tables: fix GC transaction races with netns and netlink event exit path
[ Upstream commit6a33d8b73d] Netlink event path is missing a synchronization point with GC transactions. Add GC sequence number update to netns release path and netlink event path, any GC transaction losing race will be discarded. Fixes:5f68718b34("netfilter: nf_tables: GC transaction API to avoid race with control plane") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
6650bebaa5
commit
3bdf400a1a
1 changed files with 32 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue