summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorps <ps@FreeBSD.org>2005-08-24 02:48:45 +0000
committerps <ps@FreeBSD.org>2005-08-24 02:48:45 +0000
commit813fe6cce62d257dba7802a1a78285f91cc9df85 (patch)
treee5de411469013f3b21bf1546c483068d4bdb3e07 /sys
parent44ee0af629de91dce6bd05c8e5b63046f51538c5 (diff)
downloadFreeBSD-src-813fe6cce62d257dba7802a1a78285f91cc9df85.zip
FreeBSD-src-813fe6cce62d257dba7802a1a78285f91cc9df85.tar.gz
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
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/tcp_input.c3
-rw-r--r--sys/netinet/tcp_reass.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 369315d..82a60db 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 369315d..82a60db 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;
OpenPOWER on IntegriCloud