[Bug 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 16 19:37:04 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254333

--- Comment #29 from commit-hook at FreeBSD.org ---
A commit in branch stable/12 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=dc5281a7d43917c55905d8b83a5bef69b8013071

commit dc5281a7d43917c55905d8b83a5bef69b8013071
Author:     Richard Scheffenegger <rscheff at FreeBSD.org>
AuthorDate: 2021-03-31 16:25:53 +0000
Commit:     Richard Scheffenegger <rscheff at FreeBSD.org>
CommitDate: 2021-04-16 19:27:15 +0000

    Export sbuf_drain to orchestrate lock and drain action

    While exporting large amounts of data to a sysctl
    request, datastructures may need to be locked.

    Exporting the sbuf_drain function allows the
    coordination between drain events and held
    locks, to avoid stalls.

    PR:             254333
    Reviewed By:    jhb
    MFC after:      2 weeks
    Sponsored by:   NetApp, Inc.
    Differential Revision: https://reviews.freebsd.org/D29481

    (cherry picked from commit c804c8f2c58ba42d476de07fbceff9ac4dd95f0e)

 sys/kern/subr_sbuf.c | 2 +-
 sys/sys/sbuf.h       | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-net mailing list