patch-2.1.122 linux/net/ipv4/tcp_output.c
Next file: linux/net/ipv4/tcp_timer.c
Previous file: linux/net/ipv4/tcp_ipv4.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon Sep 14 22:52:10 1998
- Orig file:
v2.1.121/linux/net/ipv4/tcp_output.c
- Orig date:
Sat Sep 5 16:46:42 1998
diff -u --recursive --new-file v2.1.121/linux/net/ipv4/tcp_output.c linux/net/ipv4/tcp_output.c
@@ -5,7 +5,7 @@
*
* Implementation of the Transmission Control Protocol(TCP).
*
- * Version: $Id: tcp_output.c,v 1.93 1998/08/26 12:04:32 davem Exp $
+ * Version: $Id: tcp_output.c,v 1.94 1998/09/15 02:11:36 davem Exp $
*
* Authors: Ross Biro, <bir7@leland.Stanford.Edu>
* Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
@@ -616,7 +616,7 @@
/* Stop retransmitting if we've hit the congestion
* window limit.
*/
- if (tp->retrans_out >= (tp->snd_cwnd >> TCP_CWND_SHIFT))
+ if (tp->retrans_out >= tp->snd_cwnd)
break;
} else {
update_retrans_head(sk);
@@ -646,7 +646,7 @@
if(tcp_retransmit_skb(sk, skb))
break;
- if(tcp_packets_in_flight(tp) >= (tp->snd_cwnd >> TCP_CWND_SHIFT))
+ if(tcp_packets_in_flight(tp) >= tp->snd_cwnd)
break;
next_packet:
packet_cnt++;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov