Minor fix to the MBUF_STRESS_TEST code so that it keeps
pkthdr.len consistant at all times. (Some debugging code I'm working on is tripped otherwise.) MFC after: 3 days
This commit is contained in:
parent
e220f38474
commit
7dc7f0311e
@ -1049,8 +1049,8 @@ ip_output(m0, opt, ro, flags, imo, inp)
|
|||||||
while (m2->m_next != NULL)
|
while (m2->m_next != NULL)
|
||||||
m2 = m2->m_next;
|
m2 = m2->m_next;
|
||||||
m2->m_next = m1;
|
m2->m_next = m1;
|
||||||
|
m->m_pkthdr.len = tmp;
|
||||||
}
|
}
|
||||||
m->m_pkthdr.len = tmp;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
error = (*ifp->if_output)(ifp, m,
|
error = (*ifp->if_output)(ifp, m,
|
||||||
|
Loading…
Reference in New Issue
Block a user