summaryrefslogtreecommitdiffstats
path: root/sys/netinet/udp_usrreq.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/udp_usrreq.c
parent8e66ca1ff16b21df31a40fa743f8df3844507305 (diff)
parentc8e197a2037e17686f997232419f8b02d1e61ffc (diff)
downloadFreeBSD-src-fcefe479fe42ec2ebc4b56d9161b88a659dfb40b.zip
FreeBSD-src-fcefe479fe42ec2ebc4b56d9161b88a659dfb40b.tar.gz
MFC
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r--sys/netinet/udp_usrreq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index fd864c0..28eb8fd 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -186,7 +186,8 @@ udp_init(void)
{
in_pcbinfo_init(&V_udbinfo, "udp", &V_udb, UDBHASHSIZE, UDBHASHSIZE,
- "udp_inpcb", udp_inpcb_init, NULL, UMA_ZONE_NOFREE);
+ "udp_inpcb", udp_inpcb_init, NULL, UMA_ZONE_NOFREE,
+ IPI_HASHFIELDS_2TUPLE);
V_udpcb_zone = uma_zcreate("udpcb", sizeof(struct udpcb),
NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_NOFREE);
uma_zone_set_max(V_udpcb_zone, maxsockets);
OpenPOWER on IntegriCloud