In m_aux_delete, no need to chase beyond victim.

Submitted by:	archie
Obtained from:	KAME
This commit is contained in:
ume 2002-05-23 15:59:48 +00:00
parent ed6b400c9b
commit 1ad8674bb3

View File

@ -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;