summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2012-04-10 06:52:39 +0000
committerglebius <glebius@FreeBSD.org>2012-04-10 06:52:39 +0000
commit9a09be5774590c89e0e132a384e9adc328b958c2 (patch)
tree0899135f596d51b6269a0ad678a6c1a064b445ac /sys/netinet
parent77af9d99aaf1bd9f65af814e6f5be7fc185a4c0d (diff)
downloadFreeBSD-src-9a09be5774590c89e0e132a384e9adc328b958c2.zip
FreeBSD-src-9a09be5774590c89e0e132a384e9adc328b958c2.tar.gz
M_DONTWAIT is a flag from historical mbuf(9)
allocator, not malloc(9) or uma(9) flag.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/in.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/in.c b/sys/netinet/in.c
index ac0aada..c1cbcb1 100644
--- a/sys/netinet/in.c
+++ b/sys/netinet/in.c
@@ -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;
OpenPOWER on IntegriCloud