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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/bpf_compat.h b/sys/net/bpf_compat.h
index 0936b84..8ccaa23 100644
--- a/sys/net/bpf_compat.h
+++ b/sys/net/bpf_compat.h
@@ -46,7 +46,7 @@
*/
#define malloc(size, type, canwait) bpf_alloc(size, canwait)
#define free(cp, type) m_free(*(struct mbuf **)(cp - 8))
-#define M_WAITOK M_WAIT
+#define M_WAITOK M_TRYWAIT
/* This mapping works for our purposes. */
#define ERESTART EINTR
OpenPOWER on IntegriCloud