summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in_pcb.c
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-03-14 21:50:55 +0000
committerdg <dg@FreeBSD.org>1995-03-14 21:50:55 +0000
commit903067464b5f286a5285b018f356802df537a00f (patch)
tree69b62fa027a9c47733c450f9a34feeddc65d907a /sys/netinet/in_pcb.c
parentbb7830919b2af6b0e40693853842072263b45b14 (diff)
downloadFreeBSD-src-903067464b5f286a5285b018f356802df537a00f.zip
FreeBSD-src-903067464b5f286a5285b018f356802df537a00f.tar.gz
pcb allocations are not always done on behalf of a process; it is not
okay to wait.
Diffstat (limited to 'sys/netinet/in_pcb.c')
-rw-r--r--sys/netinet/in_pcb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c
index e02be15..25eb0aa 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 <sys/param.h>
@@ -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));
OpenPOWER on IntegriCloud