Date: Fri, 01 Sep 2023 13:28:04 +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-WN5PTLaLdB@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-212716-227@https.bugs.freebsd.org/bugzilla/> References: <bug-212716-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212716 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=3D244557&action= =3Dedit 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 =3D=3D 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212716-227-WN5PTLaLdB>