M_DONTWAIT is a flag from historical mbuf(9)

allocator, not malloc(9) or uma(9) flag.
This commit is contained in:
Gleb Smirnoff 2012-04-10 06:52:39 +00:00
parent e275c0d349
commit 90b357f6ec

View File

@ -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;