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: Don't leak request-sockets when socket-creation fails
We may end up not creating the socket (E.g., if mptcp_create_master_sk() fails). In that case we need to make sure that the request-socket is properly cleaned up. Thus, call __reqsk_free() at the appropriate place in tcp_get_cookies_sock() 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 5d7d27c) Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> (cherry picked from commit 5433d7f) Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
- Loading branch information