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: Only mpcb-put if the time-wait sk is still in the list
There is a race in that one CPU might be in mptcp_mpcb_cleanup and another one in mptcp_twsk_destructor. mpcb might still be set at that point. The point of synchronization is when we take the spinlock in mptcp_twsk_destructor and make sure that the twsk is still in the list. Only the one who is really removing it should put the reference to the mpcb. Fixes: Zero-day Bug Signed-off-by: Christoph Paasch <[email protected]> Signed-off-by: Matthieu Baerts <[email protected]> (cherry picked from commit 7df5ba4) Signed-off-by: Matthieu Baerts <[email protected]> (cherry picked from commit 551680a) Signed-off-by: Matthieu Baerts <[email protected]>
- Loading branch information