mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
Merge 73e268b4be ("mptcp: handle fastopen disconnect correctly") into android14-6.1-lts
Steps on the way to 6.1.129 Change-Id: I2083da426f991e78e8ec6afbd498445f63717263 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
@@ -1779,8 +1779,10 @@ static int mptcp_sendmsg_fastopen(struct sock *sk, struct sock *ssk, struct msgh
|
||||
* see mptcp_disconnect().
|
||||
* Attempt it again outside the problematic scope.
|
||||
*/
|
||||
if (!mptcp_disconnect(sk, 0))
|
||||
if (!mptcp_disconnect(sk, 0)) {
|
||||
sk->sk_disconnects++;
|
||||
sk->sk_socket->state = SS_UNCONNECTED;
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user