diff options
author | Florian Westphal <fw@strlen.de> | 2022-09-20 18:31:30 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2022-09-20 23:50:03 +0200 |
commit | d25088932227680988a6b794221e031a7232f137 (patch) | |
tree | bca64dc14c6152bc59d66cf092b67b32c38061e2 /lib/mpi/mpi-sub-ui.c | |
parent | 62ce44c4fff947eebdf10bb582267e686e6835c9 (diff) |
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: c783a29c7e59 ("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>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions