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:
Mike Silbersack 2003-07-19 05:50:32 +00:00
parent e220f38474
commit 7dc7f0311e

View File

@ -1049,8 +1049,8 @@ ip_output(m0, opt, ro, flags, imo, inp)
while (m2->m_next != NULL)
m2 = m2->m_next;
m2->m_next = m1;
m->m_pkthdr.len = tmp;
}
m->m_pkthdr.len = tmp;
}
#endif
error = (*ifp->if_output)(ifp, m,