summaryrefslogtreecommitdiff
path: root/sys/netipx/ipx_pcb.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-04-28 09:28:19 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-04-28 09:28:19 +0000
commitb8c7f7d225a0818af863141be01804bafd685c8f (patch)
tree80bf9d5ac5f1bc35b15507e8ef5b88e7a17c80ff /sys/netipx/ipx_pcb.c
parentae56ece12b92c7cacfd911b0acbdda5aaf9aa098 (diff)
zap the newhashinit hack.
Add an extra flag to hashinit telling if it should wait in malloc. update all calls to hashinit.
Diffstat (limited to 'sys/netipx/ipx_pcb.c')
-rw-r--r--sys/netipx/ipx_pcb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netipx/ipx_pcb.c b/sys/netipx/ipx_pcb.c
index b681fba81cc..0b55f91fa28 100644
--- a/sys/netipx/ipx_pcb.c
+++ b/sys/netipx/ipx_pcb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipx_pcb.c,v 1.2 1996/10/26 09:34:53 mickey Exp $ */
+/* $OpenBSD: ipx_pcb.c,v 1.3 1999/04/28 09:28:16 art Exp $ */
/*-
*
@@ -68,7 +68,7 @@ ipx_pcbinit(table, hashsize)
int hashsize;
{
CIRCLEQ_INIT(&table->ipxpt_queue);
- table->ipxpt_hashtbl = hashinit(hashsize, M_PCB, &table->ipxpt_hash);
+ table->ipxpt_hashtbl = hashinit(hashsize, M_PCB, M_WAITOK, &table->ipxpt_hash);
table->ipxpt_lport = 0;
}