fixed to make mbuf chain.

Obtained from:	KAME
MFC after:	1 week
This commit is contained in:
ume 2002-07-18 04:18:56 +00:00
parent bf14f2641b
commit 68bf681e90

View File

@ -827,10 +827,10 @@ esp6_input(mp, offp, proto)
m_freem(m);
} else {
m_copydata(m, 0, maxlen, mtod(n, caddr_t));
m_adj(m, maxlen);
n->m_len = maxlen;
n->m_pkthdr.len = m->m_pkthdr.len;
n->m_next = m;
m_adj(m, maxlen);
m->m_flags &= ~M_PKTHDR;
}
m = n;