diff options
author | glebius <glebius@FreeBSD.org> | 2013-03-12 08:59:51 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-03-12 08:59:51 +0000 |
commit | ce7d7c6757e990121e86f438ac5aa60b8f718687 (patch) | |
tree | f34eba5ca48dacca02009b35d1f3606f9fc96750 /sys/xdr | |
parent | cd3470bcd6863c637963850bb25371cf831a20e1 (diff) | |
download | FreeBSD-src-ce7d7c6757e990121e86f438ac5aa60b8f718687.zip FreeBSD-src-ce7d7c6757e990121e86f438ac5aa60b8f718687.tar.gz |
Finish r243882: mechanically substitute flags from historic mbuf
allocator with malloc(9) flags within sys.
Sponsored by: Nginx, Inc.
Diffstat (limited to 'sys/xdr')
-rw-r--r-- | sys/xdr/xdr_mbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/xdr/xdr_mbuf.c b/sys/xdr/xdr_mbuf.c index bcfdb18..b2394bc 100644 --- a/sys/xdr/xdr_mbuf.c +++ b/sys/xdr/xdr_mbuf.c @@ -228,9 +228,9 @@ xdrmbuf_putbytes(XDR *xdrs, const char *addr, u_int len) if (xdrs->x_handy == m->m_len && M_TRAILINGSPACE(m) == 0) { if (!m->m_next) { - MGET(n, M_TRYWAIT, m->m_type); + MGET(n, M_WAITOK, m->m_type); if (m->m_flags & M_EXT) - MCLGET(n, M_TRYWAIT); + MCLGET(n, M_WAITOK); m->m_next = n; } m = m->m_next; |