patch-2.3.41 linux/net/netrom/af_netrom.c

Next file: linux/net/netsyms.c
Previous file: linux/net/netlink/af_netlink.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.40/linux/net/netrom/af_netrom.c linux/net/netrom/af_netrom.c
@@ -978,7 +978,7 @@
 	unsigned char *asmptr;
 	int size;
 
-	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)