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: Fix error-cases in TCP_SYNCOOKIES path
When inet_csk_reqsk_queue_add() fails and returns NULL (ending up calling inet_child_forget), we are still holding the master's lock. Thus, we need to release it in mptcp_disconnect(). Also, when inet_csk_reqsk_queue_add() returns NULL, we have to make sure that the meta gets unlocked and we stop progressing. Fixes: b568f57 ("Merge tag 'v4.4' into mptcp_trunk") Signed-off-by: Christoph Paasch <cpaasch@apple.com> Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> (cherry picked from commit 79d7578) Signed-off-by: Christoph Paasch <cpaasch@apple.com> (cherry picked from commit f266d12) Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
- Loading branch information