> > I don't see this problem; looutput looks to do the right thing. FWIW
I've
> > passed mbufs w/ mtags through the loopback interface.
>
> This refers specifically to the following code snippet:
>
> if (m && m->m_next != NULL && m->m_pkthdr.len < MCLBYTES) {
> struct mbuf *n;
>
> MGETHDR(n, M_DONTWAIT, MT_HEADER);
> if (!n)
> goto contiguousfail;
> MCLGET(n, M_DONTWAIT);
> if (! (n->m_flags & M_EXT)) {
> m_freem(n);
> goto contiguousfail;
> }
>
> m_copydata(m, 0, m->m_pkthdr.len, mtod(n, caddr_t));
> n->m_pkthdr = m->m_pkthdr;
> n->m_len = m->m_pkthdr.len;
> n->m_pkthdr.aux = m->m_pkthdr.aux;
> m->m_pkthdr.aux = (struct mbuf *)NULL;
> m_freem(m);
> m = n;
> }
>
Something is wrong with your tree:
ebb% grep aux ../sys/mbuf.h
ebb%
The above code is correct in the repo as is the m_getcl code.
Sam
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message