diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 3c6664a74f894bfc2520a41ec72c0f4940ed0651..34fda81c7db06ac4235a270bc5b64e7bf57ccd32 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -2605,6 +2605,8 @@ int tcp_disconnect(struct sock *sk, int flags)
 	sk->sk_rx_dst = NULL;
 	tcp_saved_syn_free(tp);
 	tp->compressed_ack = 0;
+	tp->segs_in = 0;
+	tp->segs_out = 0;
 	tp->bytes_sent = 0;
 	tp->bytes_acked = 0;
 	tp->bytes_received = 0;