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
-  Lines: 13
-  Date:
2003-06-13 07:51:39.000000000 -0700
-  Orig file: 
linux-2.4.20/net/ipv4/tcp_timer.c
-  Orig date: 
2001-10-01 09:19:57.000000000 -0700
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)