patch-2.4.22 linux-2.4.22/net/ipv4/raw.c

Next file: linux-2.4.22/net/ipv4/route.c
Previous file: linux-2.4.22/net/ipv4/netfilter/ipt_recent.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/net/ipv4/raw.c linux-2.4.22/net/ipv4/raw.c
@@ -360,7 +360,7 @@
 		 * IP_HDRINCL is much more convenient.
 		 */
 	} else {
-		err = -EINVAL;
+		err = -EDESTADDRREQ;
 		if (sk->state != TCP_ESTABLISHED) 
 			goto out;
 		daddr = sk->daddr;

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