diff --git a/net/mptcp/protocol.c b/net/mptcp/protocol.c index f31e0fcd3727..53dd29018b18 100644 --- a/net/mptcp/protocol.c +++ b/net/mptcp/protocol.c @@ -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;