diff options
Diffstat (limited to 'sys/net/bpf_compat.h')
-rw-r--r-- | sys/net/bpf_compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/bpf_compat.h b/sys/net/bpf_compat.h index 16fae34..212ac5f 100644 --- a/sys/net/bpf_compat.h +++ b/sys/net/bpf_compat.h @@ -45,7 +45,7 @@ * a fixed offset from the associated mbuf. Sorry for this kludge. */ #define malloc(size, type, canwait) \ -bpf_alloc(size, (canwait & M_NOWAIT) ? M_NOWAIT : 0) +bpf_alloc(size, (canwait & M_NOWAIT) ? M_DONTWAIT : M_TRYWAIT) #define free(cp, type) m_free(*(struct mbuf **)(cp - 8)) |