patch-2.4.26 linux-2.4.26/net/ipv4/tcp_ipv4.c
Next file: linux-2.4.26/net/ipv4/udp.c
Previous file: linux-2.4.26/net/ipv4/tcp_input.c
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
2004-04-14 06:05:41.000000000 -0700
-  Orig file: 
linux-2.4.25/net/ipv4/tcp_ipv4.c
-  Orig date: 
2003-11-28 10:26:21.000000000 -0800
diff -urN linux-2.4.25/net/ipv4/tcp_ipv4.c linux-2.4.26/net/ipv4/tcp_ipv4.c
@@ -1804,7 +1804,8 @@
 do_time_wait:
 	if (skb->len < (th->doff<<2) || tcp_checksum_complete(skb)) {
 		TCP_INC_STATS_BH(TcpInErrs);
-		goto discard_and_relse;
+		tcp_tw_put((struct tcp_tw_bucket *) sk);
+		goto discard_it;
 	}
 	switch(tcp_timewait_state_process((struct tcp_tw_bucket *)sk,
 					  skb, th, skb->len)) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)