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_lmi.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_lmi.c')
-rw-r--r-- | sys/netgraph/ng_lmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_lmi.c b/sys/netgraph/ng_lmi.c index 775c3b8..e8c1de1 100644 --- a/sys/netgraph/ng_lmi.c +++ b/sys/netgraph/ng_lmi.c @@ -190,7 +190,7 @@ nglmi_constructor(node_p *nodep) sc_p sc; int error = 0; - MALLOC(sc, sc_p, sizeof(*sc), M_NETGRAPH, M_WAITOK); + MALLOC(sc, sc_p, sizeof(*sc), M_NETGRAPH, M_NOWAIT); if (sc == NULL) return (ENOMEM); bzero(sc, sizeof(*sc)); |