m_cat() can free its second argument, so collect the checksum information
from the fragment before calling m_cat().
This commit is contained in:
parent
606f8eb27a
commit
a8db1d93f1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65859
@ -938,9 +938,9 @@ ip_reass(m, fp, where)
|
||||
for (q = nq; q != NULL; q = nq) {
|
||||
nq = q->m_nextpkt;
|
||||
q->m_nextpkt = NULL;
|
||||
m_cat(m, q);
|
||||
m->m_pkthdr.csum_flags &= q->m_pkthdr.csum_flags;
|
||||
m->m_pkthdr.csum_data += q->m_pkthdr.csum_data;
|
||||
m_cat(m, q);
|
||||
}
|
||||
|
||||
#ifdef IPDIVERT
|
||||
|
Loading…
Reference in New Issue
Block a user