From owner-cvs-sys Mon Mar 3 01:23:40 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA15861 for cvs-sys-outgoing; Mon, 3 Mar 1997 01:23:40 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA15854; Mon, 3 Mar 1997 01:23:39 -0800 (PST) Date: Mon, 3 Mar 1997 01:23:39 -0800 (PST) From: David Greenman Message-Id: <199703030923.BAA15854@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet in_pcb.c in_pcb.h ip_divert.c raw_ip.c tcp_subr.c udp_usrreq.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 97/03/03 01:23:38 Modified: sys/netinet in_pcb.c in_pcb.h ip_divert.c raw_ip.c tcp_subr.c udp_usrreq.c Log: Improved performance of hash algorithm while (hopefully) not reducing the quality of the hash distribution. This does not fix a problem dealing with poor distribution when using lots of IP aliases and listening on the same port on every one of them...some other day perhaps; fixing that requires significant code changes. The use of xor was inspired by David S. Miller Revision Changes Path 1.28 +7 -7 src/sys/netinet/in_pcb.c 1.19 +5 -2 src/sys/netinet/in_pcb.h 1.7 +2 -2 src/sys/netinet/ip_divert.c 1.43 +2 -2 src/sys/netinet/raw_ip.c 1.35 +2 -2 src/sys/netinet/tcp_subr.c 1.36 +2 -2 src/sys/netinet/udp_usrreq.c