svn commit: r197873 - projects/capabilities8/sys/kern

Robert Watson rwatson at FreeBSD.org
Thu Oct 8 21:34:40 UTC 2009


Author: rwatson
Date: Thu Oct  8 21:34:40 2009
New Revision: 197873
URL: http://svn.freebsd.org/changeset/base/197873

Log:
  Manually merge r197720 from head to capabilities8:
  
    Don't comment on stream socket handling in sosend_dgram, since that's
    not handled.

Modified:
  projects/capabilities8/sys/kern/uipc_socket.c

Modified: projects/capabilities8/sys/kern/uipc_socket.c
==============================================================================
--- projects/capabilities8/sys/kern/uipc_socket.c	Thu Oct  8 21:32:29 2009	(r197872)
+++ projects/capabilities8/sys/kern/uipc_socket.c	Thu Oct  8 21:34:40 2009	(r197873)
@@ -961,9 +961,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;


More information about the svn-src-projects mailing list