Fix an incorrect replace of a timer reference made during the TCP timer

rewrite in rev. 1.132.  This unmasked yet another bug that causes certain
connections to get indefinately stuck in LAST_ACK state.
This commit is contained in:
Andre Oppermann 2007-05-10 23:11:29 +00:00
parent 4d09ed1e67
commit 4b8e42baab

View File

@ -1030,7 +1030,7 @@ send:
* of retransmit time.
*/
timer:
if (!tcp_timer_active(tp, TT_PERSIST) &&
if (!tcp_timer_active(tp, TT_REXMT) &&
((sack_rxmit && tp->snd_nxt != tp->snd_max) ||
(tp->snd_nxt != tp->snd_una))) {
if (tcp_timer_active(tp, TT_PERSIST)) {