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
 
 /*
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to