mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-24 19:10:26 +00:00
netfilter: nft_socket: fix sk refcount leaks
[ Upstream commit8b26ff7af8] We must put 'sk' reference before returning. Fixes:039b1f4f24("netfilter: nft_socket: fix erroneous socket assignment") Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
033a71efab
commit
83e6fb5904
1 changed files with 4 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue