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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226655
@ -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 New Issue
Block a user