]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
tcp: Use jenkins_hash32() in hostcache
authorRichard Scheffenegger <rscheff@FreeBSD.org>
Thu, 8 Apr 2021 18:28:43 +0000 (20:28 +0200)
committerRichard Scheffenegger <rscheff@FreeBSD.org>
Thu, 8 Apr 2021 18:29:19 +0000 (20:29 +0200)
commitb878ec024bbee063f4181c9be08476a864fa6a7b
treed58c252d7ba2fd65e4e41ec01e90d83150b06046
parent373ffc62c158e52cde86a5b934ab4a51307f9f2e
tcp: Use jenkins_hash32() in hostcache

As other parts of the base tcp stack (eg.
tcp fastopen) already use jenkins_hash32,
and the properties appear reasonably good,
switching to use that.

Reviewed By: tuexen, #transport, ae
MFC after: 2 weeks
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D29515
share/man/man4/tcp.4
sys/netinet/tcp_hostcache.c