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:
Greg Kroah-Hartman
2025-03-07 14:48:41 +00:00

View File

@@ -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;