diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2012-04-10 06:52:39 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2012-04-10 06:52:39 +0000 |
commit | 90b357f6ec8b0164a1bb60da46e97d2cf0ccbc54 (patch) | |
tree | 0899135f596d51b6269a0ad678a6c1a064b445ac /sys/netinet/in.c | |
parent | e275c0d349ac9e9077d3b79d147a5874a00672d2 (diff) | |
download | src-90b357f6ec8b0164a1bb60da46e97d2cf0ccbc54.tar.gz src-90b357f6ec8b0164a1bb60da46e97d2cf0ccbc54.zip |
M_DONTWAIT is a flag from historical mbuf(9)
allocator, not malloc(9) or uma(9) flag.
Notes
Notes:
svn path=/head/; revision=234087
Diffstat (limited to 'sys/netinet/in.c')
-rw-r--r-- | sys/netinet/in.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/in.c b/sys/netinet/in.c index ac0aada096cf..c1cbcb1ea6e8 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; |