git: tcp: Use primary hash for TCP ports.
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Fri Sep 15 06:29:01 PDT 2017
commit 8aaef6e5336657217fc200add6f0f43a66bddb9e
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Fri Sep 15 13:20:39 2017 +0800
tcp: Use primary hash for TCP ports.
This fixes the hash aliasing issue, which is caused by port space
devisiion. Improve TCP connection establish performance a bit.
Summary of changes:
sys/netinet/in_pcb.c | 4 ++--
sys/netinet/in_pcb.h | 6 +++---
sys/netinet/tcp_subr.c | 10 +++++++---
3 files changed, 12 insertions(+), 8 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8aaef6e5336657217fc200add6f0f43a66bddb9e
--
DragonFly BSD source repository
More information about the Commits
mailing list