This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mptcp: Properly reset sockets in tcp_disconnect
It is possible that we end up in tcp_disconnect after a failed call to connect(). In that case tp->request_mptcp is set. We correctly remove the socket from the token hash-table but leave request_mptcp set. This can lead to inconsistent states later on if for some reason we end up disabling MPTCP on that disconnected socket. Fixes: Zero-day bug Signed-off-by: Christoph Paasch <cpaasch@apple.com> Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> (cherry picked from commit f4596c1) Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> (cherry picked from commit 7700fc3) Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> (cherry picked from commit cdd6ff9) Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
- Loading branch information