socket: Chase a lingering reference to M_NOTAVAIL

Fixes:	 b93e930ca2 ("sendfile: retire M_BLOCKED")
This commit is contained in:
Mark Johnston
2025-07-25 21:00:53 +00:00
parent 5dadfac51c
commit 26188470cf
+2 -2
View File
@@ -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.