Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mptcp: factor out __mptcp_close() without socket lock
Factor out __mptcp_close() from mptcp_close(). The caller of __mptcp_close() should hold the socket lock, and cancel mptcp work when __mptcp_close() returns true. This function will be used in the next commit. Fixes: f296234 ("mptcp: Add handling of incoming MP_JOIN requests") Fixes: 6aeed90 ("mptcp: fix race on unaccepted mptcp sockets") Cc: [email protected] Reviewed-by: Jiang Biao <[email protected]> Reviewed-by: Mengen Sun <[email protected]> Acked-by: Paolo Abeni <[email protected]> Signed-off-by: Menglong Dong <[email protected]> Signed-off-by: Mat Martineau <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
- Loading branch information