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 212ac5f..16fae34 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_DONTWAIT : M_TRYWAIT) +bpf_alloc(size, (canwait & M_NOWAIT) ? M_NOWAIT : 0) #define free(cp, type) m_free(*(struct mbuf **)(cp - 8)) |