Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mptcp: fix bogus socket state update
Since the blamed commit, closing the first subflow can unexpectedly change the msk socket state. In case of incoming fastclose, that allows a listen() call to successfully race with a blocking recvmsg() potentially causing the latter to hit a divide by zero bug in cleanup_rbuf/__tcp_select_window(). Address the issue simply dropping the bogus state change. Fixes: b29fcfb ("mptcp: full disconnect implementation") Signed-off-by: Paolo Abeni <[email protected]>
- Loading branch information