patch-2.2.8 linux/net/ipv6/udp.c
Next file: linux/net/irda/ircomm/ircomm_common.c
Previous file: linux/net/ipv4/udp.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon May 10 09:55:25 1999
- Orig file:
v2.2.7/linux/net/ipv6/udp.c
- Orig date:
Wed Apr 28 11:37:32 1999
diff -u --recursive --new-file v2.2.7/linux/net/ipv6/udp.c linux/net/ipv6/udp.c
@@ -7,7 +7,7 @@
*
* Based on linux/ipv4/udp.c
*
- * $Id: udp.c,v 1.39 1999/04/22 10:07:47 davem Exp $
+ * $Id: udp.c,v 1.40 1999/05/08 20:00:32 davem Exp $
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -381,7 +381,7 @@
/* Error for blocking case is chosen to masquerade
as some normal condition.
*/
- err = (msg->msg_flags&MSG_DONTWAIT) ? -EAGAIN : -EHOSTUNREACH;
+ err = (flags&MSG_DONTWAIT) ? -EAGAIN : -EHOSTUNREACH;
udp_stats_in6.UdpInErrors++;
goto out_free;
}
@@ -398,7 +398,7 @@
/* Error for blocking case is chosen to masquerade
as some normal condition.
*/
- err = (msg->msg_flags&MSG_DONTWAIT) ? -EAGAIN : -EHOSTUNREACH;
+ err = (flags&MSG_DONTWAIT) ? -EAGAIN : -EHOSTUNREACH;
udp_stats_in6.UdpInErrors++;
goto out_free;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)