if (m != NULL) { /* Accept. reinject and free the mbuf */
REINJECT(info, NF_STOP);
- free(m, M_IPFW);
+ m_freem(m);
} else if (ret == 0) {
/* dummynet has kept the packet, will reinject later. */
} else {
struct nf_queue_entry *info = m->queue_entry;
struct sk_buff *skb = m->m_skb; /* always used */
- free(m, M_IPFW);
+ m_freem(m);
KASSERT((info != NULL), ("%s info null!\n", __FUNCTION__));
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22) // XXX above 2.6.x ?
__net_timestamp(skb); /* update timestamp */