In m_aux_delete, no need to chase beyond victim.
Submitted by: archie Obtained from: KAME
This commit is contained in:
parent
4418dbbd1a
commit
4b562eede1
@ -396,6 +396,7 @@ m_aux_delete(struct mbuf *m, struct mbuf *victim)
|
||||
m->m_pkthdr.aux = n->m_next;
|
||||
n->m_next = NULL;
|
||||
m_free(n);
|
||||
return;
|
||||
} else
|
||||
prev = n;
|
||||
n = next;
|
||||
|
Loading…
Reference in New Issue
Block a user