Date: Fri, 01 Sep 2023 00:32:24 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 212716] recv() with MSG_WAITALL doesn't always unblock on EOF Message-ID: <bug-212716-227-GYuS4UZTKZ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-212716-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212716 --- Comment #11 from Greg Becker <greg@codeconcepts.com> --- Thanks Mark, agreed. I've moved the check up to the pr_rcvd'd block and made it contingent upon sb_mb being NULL (which is what I was trying to leverage in the original patch), and that seems to be working well. I've also added a KASSERT to sbwait() as suggested. Haven't tripped it yet, but I expect we'll want to thoroughly test it. I'll post the patch in a bit, but I want to spend some more time investigating soreceive_generic() for any holes where it might bail out having not delivered all available data first. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212716-227-GYuS4UZTKZ>
