socket: Chase a lingering reference to M_NOTAVAIL
Fixes: b93e930ca2 ("sendfile: retire M_BLOCKED")
This commit is contained in:
@@ -2989,8 +2989,8 @@ soreceive_generic_locked(struct socket *so, struct sockaddr **psa,
|
||||
*/
|
||||
moff = 0;
|
||||
offset = 0;
|
||||
while (m != NULL && !(m->m_flags & M_NOTAVAIL) && uio->uio_resid > 0
|
||||
&& error == 0) {
|
||||
while (m != NULL && !(m->m_flags & M_NOTREADY) && uio->uio_resid > 0 &&
|
||||
error == 0) {
|
||||
/*
|
||||
* If the type of mbuf has changed since the last mbuf
|
||||
* examined ('type'), end the receive operation.
|
||||
|
||||
Reference in New Issue
Block a user