--- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -2621,6 +2621,7 @@ int tcp_disconnect(struct sock *sk, int tp->snd_cwnd = TCP_INIT_CWND; tp->snd_cwnd_cnt = 0; tp->window_clamp = 0; + tp->delivered = 0; tp->delivered_ce = 0; tcp_set_ca_state(sk, TCP_CA_Open); tp->is_sack_reneg = 0;