]> git.ipfire.org Git - thirdparty/linux.git/commit
netfilter: nft_inner: release local_lock before re-enabling softirqs
authorFlorian Westphal <fw@strlen.de>
Tue, 12 May 2026 09:30:49 +0000 (11:30 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 16 May 2026 11:21:41 +0000 (13:21 +0200)
commita6cb3ff979855f7f0ee9450a947fe8f96c2ba37a
treef61d163c5fd5b3e5acabdffaaa256b2a0222fa69
parent0d3a282ab5f165fc207ff49ea5b6ad8f54616bd6
netfilter: nft_inner: release local_lock before re-enabling softirqs

Quoting sashiko:
 In the error path, local_bh_enable() is called before
 local_unlock_nested_bh().

Fixes: ba36fada9ab4 ("netfilter: nft_inner: Use nested-BH locking for nft_pcpu_tun_ctx")
Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Fernando Fernandez Mancera <fmancera@suse.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_inner.c