patch-2.1.33 linux/net/ipv4/udp.c

Next file: linux/net/ipv6/tcp_ipv6.c
Previous file: linux/net/ipv4/tcp_ipv4.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.32/linux/net/ipv4/udp.c linux/net/ipv4/udp.c
@@ -436,7 +436,7 @@
 	int code = skb->h.icmph->code;
 	struct sock *sk;
 
-	sk = udp_v4_lookup(iph->saddr, uh->source, iph->daddr, uh->dest);
+	sk = udp_v4_lookup(iph->daddr, uh->dest, iph->saddr, uh->source);
 	if (sk == NULL)
 	  	return;	/* No socket for error */
 

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