aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/socket.h
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2017-01-18 17:09:22 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2017-01-18 17:09:22 +0000
commitcf66bb8db9da5aef48a252845c59fc7a3f04dbe0 (patch)
tree81dd2a33889bc4e5b712ee34b064f8b4d3acaaf7 /sys/sys/socket.h
parent1c6fccc16604466bb292863c089268fae15fca79 (diff)
downloadsrc-cf66bb8db9da5aef48a252845c59fc7a3f04dbe0.tar.gz
src-cf66bb8db9da5aef48a252845c59fc7a3f04dbe0.zip
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
Notes
Notes: svn path=/head/; revision=312387
Diffstat (limited to 'sys/sys/socket.h')
-rw-r--r--sys/sys/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/socket.h b/sys/sys/socket.h
index 10aa233db991..5c03f9faa8a9 100644
--- a/sys/sys/socket.h
+++ b/sys/sys/socket.h
@@ -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
/*