From 2c8fe19f89829bc2e4313474bd394c76b60a545d Mon Sep 17 00:00:00 2001 From: David Greenman Date: Tue, 14 Mar 1995 21:50:55 +0000 Subject: [PATCH] pcb allocations are not always done on behalf of a process; it is not okay to wait. --- sys/netinet/in_pcb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index e02be155101..25eb0aaf724 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)in_pcb.c 8.2 (Berkeley) 1/4/94 - * $Id: in_pcb.c,v 1.5 1995/02/16 00:55:37 wollman Exp $ + * $Id: in_pcb.c,v 1.6 1995/03/02 19:29:42 davidg Exp $ */ #include @@ -65,7 +65,7 @@ in_pcballoc(so, head) { register struct inpcb *inp; - MALLOC(inp, struct inpcb *, sizeof(*inp), M_PCB, M_WAITOK); + MALLOC(inp, struct inpcb *, sizeof(*inp), M_PCB, M_NOWAIT); if (inp == NULL) return (ENOBUFS); bzero((caddr_t)inp, sizeof(*inp));