svn commit: r234087 - head/sys/netinet
Gleb Smirnoff
glebius at FreeBSD.org
Tue Apr 10 06:52:40 UTC 2012
Author: glebius
Date: Tue Apr 10 06:52:39 2012
New Revision: 234087
URL: http://svn.freebsd.org/changeset/base/234087
Log:
M_DONTWAIT is a flag from historical mbuf(9)
allocator, not malloc(9) or uma(9) flag.
Modified:
head/sys/netinet/in.c
Modified: head/sys/netinet/in.c
==============================================================================
--- head/sys/netinet/in.c Tue Apr 10 06:52:21 2012 (r234086)
+++ head/sys/netinet/in.c Tue Apr 10 06:52:39 2012 (r234087)
@@ -1279,7 +1279,7 @@ in_lltable_new(const struct sockaddr *l3
{
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;
More information about the svn-src-all
mailing list