HomeFreeBSD

tcp_hostcache: add bool argument for tcp_hc_lookup() to tell are we

Description

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

Details

Provenance
glebiusAuthored on Mar 22 2021, 8:51 PM
Parents
R10:489bde5753d2: tcp_hostcache: hide rmx_hits/rmx_updates under ifdef.
Branches
Unknown
Tags
Unknown