summaryrefslogtreecommitdiffstats
path: root/sys/net/bpf_compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/bpf_compat.h')
-rw-r--r--sys/net/bpf_compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/bpf_compat.h b/sys/net/bpf_compat.h
index 8ccaa23..cac9aff 100644
--- a/sys/net/bpf_compat.h
+++ b/sys/net/bpf_compat.h
@@ -47,6 +47,7 @@
#define malloc(size, type, canwait) bpf_alloc(size, canwait)
#define free(cp, type) m_free(*(struct mbuf **)(cp - 8))
#define M_WAITOK M_TRYWAIT
+#define M_NOWAIT M_DONTWAIT
/* This mapping works for our purposes. */
#define ERESTART EINTR
OpenPOWER on IntegriCloud