Skip to content

Commit 3e74298

Browse files
committed
tgupdate: merge t/upstream base into t/upstream
2 parents 90bf8cc + 1e198b3 commit 3e74298

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

net/mptcp/protocol.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1665,8 +1665,10 @@ static int mptcp_sendmsg_fastopen(struct sock *sk, struct msghdr *msg,
16651665
* see mptcp_disconnect().
16661666
* Attempt it again outside the problematic scope.
16671667
*/
1668-
if (!mptcp_disconnect(sk, 0))
1668+
if (!mptcp_disconnect(sk, 0)) {
1669+
sk->sk_disconnects++;
16691670
sk->sk_socket->state = SS_UNCONNECTED;
1671+
}
16701672
}
16711673
inet_clear_bit(DEFER_CONNECT, sk);
16721674

0 commit comments

Comments
 (0)