diff options
author | Paolo Abeni <pabeni@redhat.com> | 2020-10-02 13:39:44 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-10-03 01:34:38 +0300 |
commit | 9d8c05ad5627b3a650087c14c67dd1d22a6368ab (patch) | |
tree | 282d7791eb4e2ec0c7db9172f2a5f547a0bc4865 /drivers/mtd | |
parent | e7d4005d48e248a5bd30db780a67164ccdc37f16 (diff) | |
download | linux-9d8c05ad5627b3a650087c14c67dd1d22a6368ab.tar.xz |
tcp: fix syn cookied MPTCP request socket leak
If a syn-cookies request socket don't pass MPTCP-level
validation done in syn_recv_sock(), we need to release
it immediately, or it will be leaked.
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/89
Fixes: 9466a1ccebbe ("mptcp: enable JOIN requests even if cookies are in use")
Reported-and-tested-by: Geliang Tang <geliangtang@gmail.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions