patch-2.4.21 linux-2.4.21/net/ipv4/tcp_timer.c

Next file: linux-2.4.21/net/ipv4/udp.c
Previous file: linux-2.4.21/net/ipv4/tcp_output.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/net/ipv4/tcp_timer.c linux-2.4.21/net/ipv4/tcp_timer.c
@@ -372,7 +372,11 @@
 		}
 	}
 
-	tcp_enter_loss(sk, 0);
+	if (tcp_use_frto(sk)) {
+		tcp_enter_frto(sk);
+	} else {
+		tcp_enter_loss(sk, 0);
+	}
 
 	if (tcp_retransmit_skb(sk, skb_peek(&sk->write_queue)) > 0) {
 		/* Retransmission failed because of local congestion,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)