mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-19 06:44:31 +00:00
Don't comment on stream socket handling in sosend_dgram, since that's
not handled. MFC after: 3 weeks
This commit is contained in:
parent
df2b25f6ee
commit
afd8e45b45
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=197720
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue