mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
Revert "mptcp: handle fastopen disconnect correctly"
This reverts commit 73e268b4be which is
commit 619af16b3b57a3a4ee50b9a30add9ff155541e71 upstream.
It breaks the Android kernel build and can be brought back in the future
in an safe way if it is really needed.
Bug: 161946584
Change-Id: Ice4a456e51817eb48fad85c2ae048a88338807ef
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
@@ -1779,10 +1779,8 @@ static int mptcp_sendmsg_fastopen(struct sock *sk, struct sock *ssk, struct msgh
|
|||||||
* see mptcp_disconnect().
|
* see mptcp_disconnect().
|
||||||
* Attempt it again outside the problematic scope.
|
* 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;
|
sk->sk_socket->state = SS_UNCONNECTED;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|||||||
Reference in New Issue
Block a user