summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2011-06-06 21:38:39 +0000
committerattilio <attilio@FreeBSD.org>2011-06-06 21:38:39 +0000
commitfcefe479fe42ec2ebc4b56d9161b88a659dfb40b (patch)
tree7f8a8e666aaf8b4a8bd8609c5ec45698db6451d5 /sys/netinet/tcp_subr.c
parent8e66ca1ff16b21df31a40fa743f8df3844507305 (diff)
parentc8e197a2037e17686f997232419f8b02d1e61ffc (diff)
downloadFreeBSD-src-fcefe479fe42ec2ebc4b56d9161b88a659dfb40b.zip
FreeBSD-src-fcefe479fe42ec2ebc4b56d9161b88a659dfb40b.tar.gz
MFC
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r--sys/netinet/tcp_subr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 06854ec..6ed58911 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -300,7 +300,8 @@ tcp_init(void)
hashsize = 512; /* safe default */
}
in_pcbinfo_init(&V_tcbinfo, "tcp", &V_tcb, hashsize, hashsize,
- "tcp_inpcb", tcp_inpcb_init, NULL, UMA_ZONE_NOFREE);
+ "tcp_inpcb", tcp_inpcb_init, NULL, UMA_ZONE_NOFREE,
+ IPI_HASHFIELDS_4TUPLE);
/*
* These have to be type stable for the benefit of the timers.
OpenPOWER on IntegriCloud