limit change to fixing controlp handling pending review

This commit is contained in:
Matt Macy 2018-06-11 17:10:19 +00:00
parent ecbde90073
commit 0ea9d9376e

View File

@ -2180,8 +2180,6 @@ soreceive_stream(struct socket *so, struct sockaddr **psa, struct uio *uio,
flags = *flagsp &~ MSG_EOR;
else
flags = 0;
if (flags & (MSG_PEEK|MSG_WAITALL))
return (soreceive_generic(so, psa, uio, mp0, controlp, flagsp));
if (controlp != NULL)
*controlp = NULL;
if (flags & MSG_OOB)