patch-2.4.26 linux-2.4.26/net/ipv6/tcp_ipv6.c

Next file: linux-2.4.26/net/ipv6/udp.c
Previous file: linux-2.4.26/net/ipv6/sysctl_net_ipv6.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.25/net/ipv6/tcp_ipv6.c linux-2.4.26/net/ipv6/tcp_ipv6.c
@@ -1647,7 +1647,7 @@
 do_time_wait:
 	if (skb->len < (th->doff<<2) || tcp_checksum_complete(skb)) {
 		TCP_INC_STATS_BH(TcpInErrs);
-		sock_put(sk);
+		tcp_tw_put((struct tcp_tw_bucket *) sk);	
 		goto discard_it;
 	}
 

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