In m_aux_delete, no need to chase beyond victim.
Submitted by: archie Obtained from: KAME
This commit is contained in:
parent
ed6b400c9b
commit
1ad8674bb3
@ -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