patch-2.3.41 linux/net/rose/af_rose.c

Next file: linux/net/socket.c
Previous file: linux/net/packet/af_packet.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.40/linux/net/rose/af_rose.c linux/net/rose/af_rose.c
@@ -1010,7 +1010,7 @@
 	unsigned char *asmptr;
 	int n, size, qbit = 0;
 
-	if (msg->msg_flags & ~MSG_DONTWAIT)
+	if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_OOB|MSG_EOR))
 		return -EINVAL;
 
 	if (sk->zapped)

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