null out m_next when marshalling a packet
This commit is contained in:
parent
f35c2d6551
commit
69c4b66c6d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user