diff --git a/net/mptcp/protocol.c b/net/mptcp/protocol.c index 53dd29018b18..f31e0fcd3727 100644 --- a/net/mptcp/protocol.c +++ b/net/mptcp/protocol.c @@ -1779,10 +1779,8 @@ 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)) { - sk->sk_disconnects++; + if (!mptcp_disconnect(sk, 0)) sk->sk_socket->state = SS_UNCONNECTED; - } } return ret;