patch-2.3.41 linux/net/ax25/af_ax25.c

Next file: linux/net/core/datagram.c
Previous file: linux/mm/vmscan.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.40/linux/net/ax25/af_ax25.c linux/net/ax25/af_ax25.c
@@ -1313,7 +1313,7 @@
 	int lv;
 	int addr_len = msg->msg_namelen;
 
-	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)