tcp/sack: Use RFC3517bis IsLost(snd_una) as fallback of early retransmit
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 24 May 2012 05:35:36 +0000 (13:35 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 25 May 2012 07:11:55 +0000 (15:11 +0800)
commitba0d6f9911cce18ff8daa525328a9d8ffa315f33
treef15909afb9543299126022662da38ed64254f8ed
parenteaa63fc91ee62fe272caad5474e83239cedee5b1
tcp/sack: Use RFC3517bis IsLost(snd_una) as fallback of early retransmit

Since we are less certain about whether is segment is lost or not when
using IsLost(snd_una), we do not send out other unSACKed segments except
the first unSACKed segment under this condition.  Sending out other
unSACKed segments could be too aggressive here; just wait for another
ACK to tick out more unSACKed segments.
sys/netinet/tcp_input.c
sys/netinet/tcp_sack.c