]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
tcp_hostcache: add bool argument for tcp_hc_lookup() to tell are we
authorGleb Smirnoff <glebius@FreeBSD.org>
Mon, 22 Mar 2021 20:51:42 +0000 (13:51 -0700)
committerGleb Smirnoff <glebius@FreeBSD.org>
Thu, 8 Apr 2021 17:58:44 +0000 (10:58 -0700)
commit29acb543931e390bcfb8672e1474811dc3da88a4
tree44463b7e1842b4478011988e49e04be89d29bc33
parent489bde5753d2ee591f9a36c9a9082903c8e24636
tcp_hostcache: add bool argument for tcp_hc_lookup() to tell are we
looking to only read from the result, or to update it as well.
For now doesn't affect locking, but allows to push stats and expire
update into single place.

Reviewed by: rscheff
sys/netinet/tcp_hostcache.c