mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
M_DONTWAIT is a flag from historical mbuf(9)
allocator, not malloc(9) or uma(9) flag.
This commit is contained in:
parent
e275c0d349
commit
90b357f6ec
1 changed files with 1 additions and 1 deletions
|
|
@ -1279,7 +1279,7 @@ in_lltable_new(const struct sockaddr *l3addr, u_int flags)
|
|||
{
|
||||
struct in_llentry *lle;
|
||||
|
||||
lle = malloc(sizeof(struct in_llentry), M_LLTABLE, M_DONTWAIT | M_ZERO);
|
||||
lle = malloc(sizeof(struct in_llentry), M_LLTABLE, M_NOWAIT | M_ZERO);
|
||||
if (lle == NULL) /* NB: caller generates msg */
|
||||
return NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue