1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

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.
This commit is contained in:
Jayanth Vijayaraghavan 2004-07-26 23:41:12 +00:00
parent 0aa8ce5012
commit e9f2f80e09
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132676

View File

@ -951,7 +951,7 @@ tcp_output(struct tcpcb *tp)
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)) {