From ef090090cb15c366e5a0c4e33a4d06fcc4273d2f Mon Sep 17 00:00:00 2001 From: jayanth Date: Mon, 26 Jul 2004 23:41:12 +0000 Subject: 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(-) (limited to 'sys/netinet/tcp_output.c') diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c index f6afc18..c69b90a 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)) { -- cgit v1.1