Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 2015 13:10:04 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r281884 - head/lib/libc/net
Message-ID:  <201504231310.t3NDA4JE055206@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Thu Apr 23 13:10:03 2015
New Revision: 281884
URL: https://svnweb.freebsd.org/changeset/base/281884

Log:
  A complete user message is signalled with the MSG_EOR flag, not the MSG_EOF
  flag.
  Thanks to Valentin Nechayev for reporting the issue.
  
  MFC after: 1 week

Modified:
  head/lib/libc/net/sctp_recvmsg.3

Modified: head/lib/libc/net/sctp_recvmsg.3
==============================================================================
--- head/lib/libc/net/sctp_recvmsg.3	Thu Apr 23 11:27:21 2015	(r281883)
+++ head/lib/libc/net/sctp_recvmsg.3	Thu Apr 23 13:10:03 2015	(r281884)
@@ -27,7 +27,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd August 13, 2007
+.Dd April 23, 2015
 .Dt SCTP_RECVMSG 3
 .Os
 .Sh NAME
@@ -98,13 +98,13 @@ receive buffer, then the
 argument will
 .Em not
 have the
-.Dv MSG_EOF
+.Dv MSG_EOR
 flag applied.
 If the message is a complete message then
 the
 .Fa flags
 argument will have
-.Dv MSG_EOF
+.Dv MSG_EOR
 set.
 Locally detected errors are
 indicated by a return value of -1 with



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504231310.t3NDA4JE055206>