svn commit: r312387 - head/sys/sys

Gleb Smirnoff glebius at FreeBSD.org
Wed Jan 18 17:09:23 UTC 2017


Author: glebius
Date: Wed Jan 18 17:09:22 2017
New Revision: 312387
URL: https://svnweb.freebsd.org/changeset/base/312387

Log:
  Fix regression from r311568: collision of MSG_NOSIGNAL with MSG_MORETOCOME
  lead to delayed send of data sent with sendto(MSG_NOSIGNAL).
  
  Submitted by:	rrs

Modified:
  head/sys/sys/socket.h

Modified: head/sys/sys/socket.h
==============================================================================
--- head/sys/sys/socket.h	Wed Jan 18 15:23:40 2017	(r312386)
+++ head/sys/sys/socket.h	Wed Jan 18 17:09:22 2017	(r312387)
@@ -446,7 +446,7 @@ struct msghdr {
 #endif
 #ifdef _KERNEL
 #define	MSG_SOCALLBCK   0x10000		/* for use by socket callbacks - soreceive (TCP) */
-#define	MSG_MORETOCOME	0x20000		/* additional data pending */
+#define	MSG_MORETOCOME	0x100000	/* additional data pending */
 #endif
 
 /*


More information about the svn-src-head mailing list