The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=26188470cff6ec436c8d5dd570539c38eea20e5d
commit 26188470cff6ec436c8d5dd570539c38eea20e5d Author: Mark Johnston <ma...@freebsd.org> AuthorDate: 2025-07-25 21:00:53 +0000 Commit: Mark Johnston <ma...@freebsd.org> CommitDate: 2025-07-25 21:00:53 +0000 socket: Chase a lingering reference to M_NOTAVAIL Fixes: b93e930ca233 ("sendfile: retire M_BLOCKED") --- sys/kern/uipc_socket.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c index 17b456deb71f..fe2d8d056062 100644 --- a/sys/kern/uipc_socket.c +++ b/sys/kern/uipc_socket.c @@ -2989,8 +2989,8 @@ dontblock: */ 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.