[Bug 260116] [sctp] POLLOUT/EVFILT_WRITE is always true for poll/kqueue

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 25 Jan 2022 11:09:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260116

--- Comment #3 from Björn Svensson <bjorn.a.svensson@est.tech> ---
Created attachment 231307
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=231307&action=edit
Proposed patch

This proposed patch adds a macro for unifying the sb_acc and sb_ccc counters
after the value has been updated.
The macro can be changed for upstream users (like a userspace sctp stack) in a
similar way as for sb_cc, i.e. it can be disabled when there is no usage of
sb_ccc and sb_acc.
See patch for more details.

-- 
You are receiving this mail because:
You are the assignee for the bug.