diff options
author | archie <archie@FreeBSD.org> | 2000-09-21 18:01:23 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2000-09-21 18:01:23 +0000 |
commit | 1023c32e1a3679b96f5d97f326b05c06529b214c (patch) | |
tree | d5267989f77e49fdb5fc4a6aa641c0b91e4bf969 /sys/netgraph/ng_mppc.c | |
parent | 2ecfa84ffe04f743aceb5489b27662b68b563e18 (diff) | |
download | FreeBSD-src-1023c32e1a3679b96f5d97f326b05c06529b214c.zip FreeBSD-src-1023c32e1a3679b96f5d97f326b05c06529b214c.tar.gz |
Allocate all memory (including within node constructors) with M_NOWAIT
instead of M_WAITOK, to allow for maximum flexibility.
Diffstat (limited to 'sys/netgraph/ng_mppc.c')
-rw-r--r-- | sys/netgraph/ng_mppc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_mppc.c b/sys/netgraph/ng_mppc.c index 5ab6c90..489ef31 100644 --- a/sys/netgraph/ng_mppc.c +++ b/sys/netgraph/ng_mppc.c @@ -179,7 +179,7 @@ ng_mppc_constructor(node_p *nodep) int error; /* Allocate private structure */ - MALLOC(priv, priv_p, sizeof(*priv), M_NETGRAPH, M_WAITOK); + MALLOC(priv, priv_p, sizeof(*priv), M_NETGRAPH, M_NOWAIT); if (priv == NULL) return (ENOMEM); bzero(priv, sizeof(*priv)); |