null out m_next when marshalling a packet

This commit is contained in:
Kip Macy 2008-12-01 05:44:08 +00:00
parent f35c2d6551
commit 69c4b66c6d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=185509

View File

@ -293,7 +293,9 @@ retry:
/*
* is an immediate mbuf or is from the packet zone
*/
n = n->m_next;
mhead = n->m_next;
n->m_next = NULL;
n = mhead;
}
*nsegs = seg_count;
*m = m0;