Date: Tue, 08 Feb 2022 17:47:03 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 260116] [sctp] POLLOUT/EVFILT_WRITE is always true for poll/kqueue Message-ID: <bug-260116-227-RuxX5l5jGb@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-260116-227@https.bugs.freebsd.org/bugzilla/> References: <bug-260116-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=3D260116 Bj=C3=B6rn Svensson <bjorn.a.svensson@est.tech> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #231307|0 |1 is obsolete| | --- Comment #7 from Bj=C3=B6rn Svensson <bjorn.a.svensson@est.tech> --- Created attachment 231650 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D231650&action= =3Dedit Proposed patch v2 Updated the proposed patch; removed changes that was found to not be requir= ed. The patch (still) adds a new macro which makes sure that a sockets sendbuff= er counters sb_ccc and sb_acc are both updated for 1-to-1 style sockets. Both counters are needed when the socket API is used with poll()/kevent() s= ince the sb_ccc counter is used to determine if the sendbuffer is full, and the sb_acc counter in other cases. This will correct the problem that an 1-to-1 style SCTP socket always is indicated to be writeable. --=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-260116-227-RuxX5l5jGb>