HomeFreeBSD

sockbuf: remove sbflush_internal() and sbrelease_internal() shims

Description

sockbuf: remove sbflush_internal() and sbrelease_internal() shims

This functions serve just one purpose - allow to call sbdestroy() from
sofree() without triggering unlocked mutex assertions. Let's just don't
save on locking with INVARIANTS kernel and this will allow to clean up all
these shims. Should be no functional changes.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D49363

Details

Provenance
glebiusAuthored on Mar 24 2025, 6:40 AM
Reviewer
markj
Differential Revision
D49363: sockbuf: remove sbflush_internal() and sbrelease_internal() shims
Parents
rGc18a16ebcf5b: kern_proc_kqueues_out(): maxlen == -1 means there is no maxlen
Branches
Unknown
Tags
Unknown