mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Correct flag for uma_zalloc() is M_WAITOK. M_WAIT is an old and
deprecated flag from historical mbuf(9) allocator. This is style only change.
This commit is contained in:
parent
dbedf61ce3
commit
f54a3a046e
1 changed files with 1 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ struct pfi_dynaddr {
|
|||
#define PF_NAME "pf"
|
||||
|
||||
#define PR_NOWAIT M_NOWAIT
|
||||
#define PR_WAITOK M_WAIT
|
||||
#define PR_WAITOK M_WAITOK
|
||||
#define PR_ZERO M_ZERO
|
||||
#define pool_get(p, f) uma_zalloc(*(p), (f))
|
||||
#define pool_put(p, o) uma_zfree(*(p), (o))
|
||||
|
|
|
|||
Loading…
Reference in a new issue