svn commit: r197720 - head/sys/kern
Robert Watson
rwatson at FreeBSD.org
Fri Oct 2 21:31:16 UTC 2009
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;
More information about the svn-src-all
mailing list