Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Oct 2009 21:31:15 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r197720 - head/sys/kern
Message-ID:  <200910022131.n92LVFXO014114@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rwatson
Date: Fri Oct  2 21:31:15 2009
New Revision: 197720
URL: http://svn.freebsd.org/changeset/base/197720

Log:
  Don't comment on stream socket handling in sosend_dgram, since that's
  not handled.
  
  MFC after:	3 weeks

Modified:
  head/sys/kern/uipc_socket.c

Modified: head/sys/kern/uipc_socket.c
==============================================================================
--- head/sys/kern/uipc_socket.c	Fri Oct  2 20:19:53 2009	(r197719)
+++ head/sys/kern/uipc_socket.c	Fri Oct  2 21:31:15 2009	(r197720)
@@ -970,9 +970,6 @@ sosend_dgram(struct socket *so, struct s
 	 * must use a signed comparison of space and resid.  On the other
 	 * hand, a negative resid causes us to loop sending 0-length
 	 * segments to the protocol.
-	 *
-	 * Also check to make sure that MSG_EOR isn't used on SOCK_STREAM
-	 * type sockets since that's an error.
 	 */
 	if (resid < 0) {
 		error = EINVAL;



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