patch-2.2.0-pre5 linux/net/ipv4/tcp_input.c
Next file: linux/net/ipv4/tcp_ipv4.c
Previous file: linux/net/ipv4/sysctl_net_ipv4.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon Jan 4 15:31:35 1999
- Orig file:
v2.2.0-pre4/linux/net/ipv4/tcp_input.c
- Orig date:
Fri Jan 1 12:58:21 1999
diff -u --recursive --new-file v2.2.0-pre4/linux/net/ipv4/tcp_input.c linux/net/ipv4/tcp_input.c
@@ -5,7 +5,7 @@
*
* Implementation of the Transmission Control Protocol(TCP).
*
- * Version: $Id: tcp_input.c,v 1.143 1998/12/20 20:20:20 davem Exp $
+ * Version: $Id: tcp_input.c,v 1.145 1999/01/04 20:49:11 davem Exp $
*
* Authors: Ross Biro, <bir7@leland.Stanford.Edu>
* Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
@@ -301,7 +301,7 @@
/* The retransmission queue is always in order, so
* we can short-circuit the walk early.
*/
- if(after(TCP_SKB_CB(skb)->seq, start_seq))
+ if(after(TCP_SKB_CB(skb)->seq, end_seq))
break;
/* We play conservative, we don't allow SACKS to partially
@@ -1170,7 +1170,7 @@
/* Zap SWALK, by moving every further SACK up by one slot.
* Decrease num_sacks.
*/
- for(this_sack += 1; this_sack < num_sacks-1; this_sack++, swalk++) {
+ for(; this_sack < num_sacks-1; this_sack++, swalk++) {
struct tcp_sack_block *next = (swalk + 1);
swalk->start_seq = next->start_seq;
swalk->end_seq = next->end_seq;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov