patch-2.2.0-final linux/net/ipv4/tcp_input.c

Next file: linux/net/irda/irlpt/irlpt_common.c
Previous file: linux/net/ipv4/ip_masq_mfw.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre9/linux/net/ipv4/tcp_input.c linux/net/ipv4/tcp_input.c
@@ -1691,7 +1691,7 @@
 		do {	net_statistics.OfoPruned += skb->len; 
 			kfree_skb(skb);
 			skb = __skb_dequeue_tail(&tp->out_of_order_queue);
-		} while((skb = __skb_dequeue_tail(&tp->out_of_order_queue)) != NULL);
+		} while(skb != NULL);
 
 		/* Reset SACK state.  A conforming SACK implementation will
 		 * do the same at a timeout based retransmit.  When a connection

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov