In m_aux_delete, no need to chase beyond victim.

Submitted by:	archie
Obtained from:	KAME
This commit is contained in:
Hajimu UMEMOTO 2002-05-23 15:59:48 +00:00
parent 4418dbbd1a
commit 4b562eede1

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;