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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334962

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)