static __inline void
m_freem(struct mbuf *m)
{
-#if 0
struct m_tag *t;
+ /* free the m_tag chain */
while ( (t = SLIST_FIRST(&m->m_pkthdr.tags) ) ) {
SLIST_REMOVE_HEAD(&m->m_pkthdr.tags, m_tag_link);
free(t, 0);
}
-#endif
- free(m, 0);
+
+ /* free the mbuf */
+ free(m, M_IPFW);
};
/* we cannot pullup */