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,9 +1049,9 @@ 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,
|
||||||
(struct sockaddr *)dst, ro->ro_rt);
|
(struct sockaddr *)dst, ro->ro_rt);
|
||||||
|
Loading…
Reference in New Issue
Block a user