mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
null out m_next when marshalling a packet
This commit is contained in:
parent
f35c2d6551
commit
69c4b66c6d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=185509
@ -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…
Reference in New Issue
Block a user