patch-2.4.15 linux/net/ipv4/tcp_input.c

Next file: linux/net/irda/af_irda.c
Previous file: linux/net/ipv4/ipconfig.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.14/linux/net/ipv4/tcp_input.c linux/net/ipv4/tcp_input.c
@@ -2462,7 +2462,7 @@
 
 			/* Zap this SACK, by moving forward any other SACKS. */
 			for (i=this_sack+1; i < num_sacks; i++)
-				sp[i-1] = sp[i];
+				tp->selective_acks[i-1] = tp->selective_acks[i];
 			num_sacks--;
 			continue;
 		}

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