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
@ -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…
x
Reference in New Issue
Block a user