From 4d3b13463320c981a4ab3552e70bdfe12c97f5ba Mon Sep 17 00:00:00 2001 From: Paul Saab Date: Wed, 24 Aug 2005 02:48:45 +0000 Subject: [PATCH] Remove a KASSERT in the sack path that fails because of a interaction between sack and a bug in the "bad retransmit recovery" logic. This is a workaround, the underlying bug will be fixed later. Submitted by: Mohan Srinivasan, Noritoshi Demizu --- sys/netinet/tcp_input.c | 3 --- sys/netinet/tcp_reass.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 369315d484a2..82a60dbb9bbb 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -1917,9 +1917,6 @@ trimthenstep6: callout_stop(tp->tt_rexmt); tp->t_rtttime = 0; if (tp->sack_enable) { - KASSERT(tp->sackhint. - sack_bytes_rexmit == 0, - ("sackhint rexmit == 0")); tcpstat.tcps_sack_recovery_episode++; tp->sack_newdata = tp->snd_nxt; tp->snd_cwnd = tp->t_maxseg; diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c index 369315d484a2..82a60dbb9bbb 100644 --- a/sys/netinet/tcp_reass.c +++ b/sys/netinet/tcp_reass.c @@ -1917,9 +1917,6 @@ trimthenstep6: callout_stop(tp->tt_rexmt); tp->t_rtttime = 0; if (tp->sack_enable) { - KASSERT(tp->sackhint. - sack_bytes_rexmit == 0, - ("sackhint rexmit == 0")); tcpstat.tcps_sack_recovery_episode++; tp->sack_newdata = tp->snd_nxt; tp->snd_cwnd = tp->t_maxseg;