summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/netgraph/ng_mppc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_mppc.c b/sys/netgraph/ng_mppc.c
index 3710058..5ab6c90 100644
--- a/sys/netgraph/ng_mppc.c
+++ b/sys/netgraph/ng_mppc.c
@@ -483,7 +483,7 @@ ng_mppc_compress(node_p node, struct mbuf *m, struct mbuf **resultp)
outlen = MPPC_MAX_BLOWUP(inlen);
else
outlen = MPPC_HDRLEN + inlen;
- MALLOC(outbuf, u_char *, outlen, M_NETGRAPH, M_WAITOK);
+ MALLOC(outbuf, u_char *, outlen, M_NETGRAPH, M_NOWAIT);
if (outbuf == NULL) {
FREE(inbuf, M_NETGRAPH);
return (ENOMEM);
OpenPOWER on IntegriCloud