From e9f2f80e0936070e3767e15f2e716789e8048256 Mon Sep 17 00:00:00 2001 From: Jayanth Vijayaraghavan Date: Mon, 26 Jul 2004 23:41:12 +0000 Subject: [PATCH] Fix for a SACK bug where the very last segment retransmitted from the SACK scoreboard could result in the next (untransmitted) segment to be skipped. --- sys/netinet/tcp_output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c index f6afc1892ea..c69b90aae8c 100644 --- a/sys/netinet/tcp_output.c +++ b/sys/netinet/tcp_output.c @@ -951,7 +951,7 @@ send: tp->t_flags |= TF_SENTFIN; } } - if (tp->sack_enable && sack_rxmit && (p->rxmit != tp->snd_nxt)) + if (tp->sack_enable && sack_rxmit) goto timer; tp->snd_nxt += len; if (SEQ_GT(tp->snd_nxt, tp->snd_max)) {