Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2021 21:33:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs
Message-ID:  <bug-254333-7501-B99ybtimMp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254333-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254333-7501@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=3D254333

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

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Dc0f8ed6ff81260fb4a26da354d3f06aaa=
83e74de

commit c0f8ed6ff81260fb4a26da354d3f06aaa83e74de
Author:     Richard Scheffenegger <rscheff@FreeBSD.org>
AuthorDate: 2021-03-31 17:30:20 +0000
Commit:     Richard Scheffenegger <rscheff@FreeBSD.org>
CommitDate: 2021-04-16 20:52:21 +0000

    tcp: Make hostcache.cache_count MPSAFE  by using a counter_u64_t

    Addressing the underlying root cause for cache_count to
    show unexpectedly high  values, by protecting all arithmetic on
    that global variable by using counter(9).

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

    (cherry picked from commit 95e56d31e348594973affd0ea81d8f8383bc3031)

 sys/netinet/tcp_hostcache.c | 20 ++++++++++++--------
 sys/netinet/tcp_hostcache.h | 20 ++++++++++----------
 2 files changed, 22 insertions(+), 18 deletions(-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254333-7501-B99ybtimMp>