fixed to make mbuf chain.
Obtained from: KAME MFC after: 1 week
This commit is contained in:
parent
bf14f2641b
commit
68bf681e90
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user