46c46
< __FBSDID("$FreeBSD: head/sys/nfsclient/krpc_subr.c 171744 2007-08-06 14:26:03Z rwatson $");
---
> __FBSDID("$FreeBSD: head/sys/nfsclient/krpc_subr.c 177599 2008-03-25 09:39:02Z ru $");
154,156c154
< m = m_get(M_TRYWAIT, MT_DATA);
< if (m == NULL)
< return ENOBUFS;
---
> m = m_get(M_WAIT, MT_DATA);
277c275
< mhead = m_gethdr(M_TRYWAIT, MT_DATA);
---
> mhead = m_gethdr(M_WAIT, MT_DATA);
311,315c309
< m = m_copym(mhead, 0, M_COPYALL, M_TRYWAIT);
< if (m == NULL) {
< error = ENOBUFS;
< goto out;
< }
---
> m = m_copym(mhead, 0, M_COPYALL, M_WAIT);
465,472c459,461
< m = m_get(M_TRYWAIT, MT_DATA);
< if (mlen > MLEN) {
< MCLGET(m, M_TRYWAIT);
< if ((m->m_flags & M_EXT) == 0) {
< (void) m_free(m); /* There can be only one. */
< return (NULL);
< }
< }
---
> m = m_get(M_WAIT, MT_DATA);
> if (mlen > MLEN)
> MCLGET(m, M_WAIT);
< __FBSDID("$FreeBSD: head/sys/nfsclient/krpc_subr.c 171744 2007-08-06 14:26:03Z rwatson $");
---
> __FBSDID("$FreeBSD: head/sys/nfsclient/krpc_subr.c 177599 2008-03-25 09:39:02Z ru $");
154,156c154
< m = m_get(M_TRYWAIT, MT_DATA);
< if (m == NULL)
< return ENOBUFS;
---
> m = m_get(M_WAIT, MT_DATA);
277c275
< mhead = m_gethdr(M_TRYWAIT, MT_DATA);
---
> mhead = m_gethdr(M_WAIT, MT_DATA);
311,315c309
< m = m_copym(mhead, 0, M_COPYALL, M_TRYWAIT);
< if (m == NULL) {
< error = ENOBUFS;
< goto out;
< }
---
> m = m_copym(mhead, 0, M_COPYALL, M_WAIT);
465,472c459,461
< m = m_get(M_TRYWAIT, MT_DATA);
< if (mlen > MLEN) {
< MCLGET(m, M_TRYWAIT);
< if ((m->m_flags & M_EXT) == 0) {
< (void) m_free(m); /* There can be only one. */
< return (NULL);
< }
< }
---
> m = m_get(M_WAIT, MT_DATA);
> if (mlen > MLEN)
> MCLGET(m, M_WAIT);