31c31
< __FBSDID("$FreeBSD: head/sys/kern/subr_mchain.c 148517 2005-07-29 13:22:37Z imura $");
---
> __FBSDID("$FreeBSD: head/sys/kern/subr_mchain.c 177599 2008-03-25 09:39:02Z ru $");
59,61c59
< m = m_gethdr(M_TRYWAIT, MT_DATA);
< if (m == NULL)
< return ENOBUFS;
---
> m = m_gethdr(M_WAIT, MT_DATA);
116,118c114
< mn = m_get(M_TRYWAIT, MT_DATA);
< if (mn == NULL)
< return NULL;
---
> mn = m_get(M_WAIT, MT_DATA);
193,197c189,191
< if (m->m_next == NULL) {
< m = m_getm(m, size, M_TRYWAIT, MT_DATA);
< if (m == NULL)
< return ENOBUFS;
< } else
---
> if (m->m_next == NULL)
> m = m_getm(m, size, M_WAIT, MT_DATA);
> else
298,300c292
< m = m_gethdr(M_TRYWAIT, MT_DATA);
< if (m == NULL)
< return ENOBUFS;
---
> m = m_gethdr(M_WAIT, MT_DATA);
506,508c498
< rm = m_copym(m, mdp->md_pos - mtod(m, u_char*), size, M_TRYWAIT);
< if (rm == NULL)
< return EBADRPC;
---
> rm = m_copym(m, mdp->md_pos - mtod(m, u_char*), size, M_WAIT);
< __FBSDID("$FreeBSD: head/sys/kern/subr_mchain.c 148517 2005-07-29 13:22:37Z imura $");
---
> __FBSDID("$FreeBSD: head/sys/kern/subr_mchain.c 177599 2008-03-25 09:39:02Z ru $");
59,61c59
< m = m_gethdr(M_TRYWAIT, MT_DATA);
< if (m == NULL)
< return ENOBUFS;
---
> m = m_gethdr(M_WAIT, MT_DATA);
116,118c114
< mn = m_get(M_TRYWAIT, MT_DATA);
< if (mn == NULL)
< return NULL;
---
> mn = m_get(M_WAIT, MT_DATA);
193,197c189,191
< if (m->m_next == NULL) {
< m = m_getm(m, size, M_TRYWAIT, MT_DATA);
< if (m == NULL)
< return ENOBUFS;
< } else
---
> if (m->m_next == NULL)
> m = m_getm(m, size, M_WAIT, MT_DATA);
> else
298,300c292
< m = m_gethdr(M_TRYWAIT, MT_DATA);
< if (m == NULL)
< return ENOBUFS;
---
> m = m_gethdr(M_WAIT, MT_DATA);
506,508c498
< rm = m_copym(m, mdp->md_pos - mtod(m, u_char*), size, M_TRYWAIT);
< if (rm == NULL)
< return EBADRPC;
---
> rm = m_copym(m, mdp->md_pos - mtod(m, u_char*), size, M_WAIT);