From afd8e45b4569be9094fb96d971b2206f3eac6228 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Fri, 2 Oct 2009 21:31:15 +0000 Subject: [PATCH] Don't comment on stream socket handling in sosend_dgram, since that's not handled. MFC after: 3 weeks --- sys/kern/uipc_socket.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c index 34d5edc345fc..cc16c49fc322 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;