Files
linux/net/netfilter
Florian Westphal 235c47f437 netfilter: nf_ct_ftp: fix deadlock when nat rewrite is needed
[ Upstream commit d250889322 ]

We can't use ct->lock, this is already used by the seqadj internals.
When using ftp helper + nat, seqadj will attempt to acquire ct->lock
again.

Revert back to a global lock for now.

Fixes: c783a29c7e ("netfilter: nf_ct_ftp: prefer skb_linearize")
Reported-by: Bruno de Paula Larini <bruno.larini@riosoft.com.br>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-09-28 11:32:18 +02:00
..
2022-01-22 08:33:37 +02:00
2022-01-22 08:33:37 +02:00