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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 16 22:12:39 UTC 2021


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

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

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

commit a85003abdad402c27c12cf1a31b243c39483f263
Author:     Richard Scheffenegger <rscheff at FreeBSD.org>
AuthorDate: 2021-03-31 17:24:01 +0000
Commit:     Richard Scheffenegger <rscheff at FreeBSD.org>
CommitDate: 2021-04-16 21:33:20 +0000

    tcp: drain tcp_hostcache_list in between per-bucket locks

    Explicitly drain the sbuf after completing each hash bucket
    to minimize the work performed while holding the hash
    bucket lock.

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

    (cherry picked from commit 869880463cc2ce64e2e6599eaec880a981f3ced6)

 sys/netinet/tcp_hostcache.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

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


More information about the freebsd-net mailing list