mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-01 18:21:29 +00:00
netfilter: nf_tables: GC transaction race with netns dismantle
commit02c6c24402upstream. Use maybe_get_net() since GC workqueue might race with netns exit path. 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
41113aa569
commit
afa584c350
1 changed files with 6 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue