From ce7d7c6757e990121e86f438ac5aa60b8f718687 Mon Sep 17 00:00:00 2001 From: glebius Date: Tue, 12 Mar 2013 08:59:51 +0000 Subject: Finish r243882: mechanically substitute flags from historic mbuf allocator with malloc(9) flags within sys. Sponsored by: Nginx, Inc. --- sys/xdr/xdr_mbuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/xdr') 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; -- cgit v1.1