Skip to content
Commit d2508893 authored by Florian Westphal's avatar Florian Westphal
Browse files

netfilter: nf_ct_ftp: fix deadlock when nat rewrite is needed

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: c783a29c

 ("netfilter: nf_ct_ftp: prefer skb_linearize")
Reported-by: default avatarBruno de Paula Larini <bruno.larini@riosoft.com.br>
Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
parent 62ce44c4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment