don't decrement ref count below 1 for EXT_PACKET
This commit is contained in:
parent
5f78571d1c
commit
b3fa5e2f65
@ -384,7 +384,7 @@ mb_free_ext_fast(struct mbuf_iovec *mi, int type, int idx)
|
||||
*/
|
||||
while (dofree == 0) {
|
||||
cnt = *(mi->mi_refcnt);
|
||||
if (mi->mi_type == EXT_PACKET) {
|
||||
if (mi->mi_type == EXT_PACKET && cnt == 1) {
|
||||
dofree = 1;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user