summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_lmi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/ng_lmi.c')
-rw-r--r--sys/netgraph/ng_lmi.c2
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));
OpenPOWER on IntegriCloud