Don't comment on stream socket handling in sosend_dgram, since that's

not handled.

MFC after:	3 weeks
This commit is contained in:
rwatson 2009-10-02 21:31:15 +00:00
parent cb830106c3
commit 86b3bcad7d

View File

@ -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;