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

Next file: linux/CREDITS
Previous file: linux/net/ipv4/rarp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.31/linux/net/ipv4/tcp_input.c linux/net/ipv4/tcp_input.c
@@ -2632,7 +2632,7 @@
 							 dev->pa_addr, skb->redirport, dev);
 			else
 #endif
-			sk = NULL;
+			sk = __tcp_v4_lookup(th, saddr, th->source, daddr, th->dest, dev);
 			/* this is not really correct: we should check sk->users */
 			if (sk && sk->state==TCP_LISTEN)
 			{


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