diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-10-02 21:31:15 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-10-02 21:31:15 +0000 |
commit | 86b3bcad7dc713b1ee5da3749b9f6e8662a9f6ba (patch) | |
tree | b64611261b2981d5a14848d2bc3931cd4456273a /sys/kern/uipc_socket.c | |
parent | cb830106c3e18692033915678386983c84aaf101 (diff) | |
download | FreeBSD-src-86b3bcad7dc713b1ee5da3749b9f6e8662a9f6ba.zip FreeBSD-src-86b3bcad7dc713b1ee5da3749b9f6e8662a9f6ba.tar.gz |
Don't comment on stream socket handling in sosend_dgram, since that's
not handled.
MFC after: 3 weeks
Diffstat (limited to 'sys/kern/uipc_socket.c')
-rw-r--r-- | sys/kern/uipc_socket.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c index 34d5edc..cc16c49 100644 --- a/sys/kern/uipc_socket.c +++ b/sys/kern/uipc_socket.c @@ -970,9 +970,6 @@ sosend_dgram(struct socket *so, struct sockaddr *addr, struct uio *uio, * 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; |