[Bug 212716] recv() with MSG_WAITALL doesn't always unblock on EOF
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Sep 2023 13:28:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212716
Greg Becker <greg@codeconcepts.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #244523|0 |1
is obsolete| |
--- Comment #12 from Greg Becker <greg@codeconcepts.com> ---
Created attachment 244557
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=244557&action=edit
sockets: re-check socket state after call to pr_rcvd()
I tested the KASSERT in sbwait without the fix to soreceive_generic() and it
panics as expected. I am now currently running kyua test to evaluate the
before/after results.
I'm not too worried about the apparent double test of (sb_mb == NULL), as I
suspect the optimizer will eliminate the redundant test.
I still haven't fully evaluated whether all data in the socket will be fully
delivered before any socket errors or closed states are acted upon.
--
You are receiving this mail because:
You are the assignee for the bug.