to->m_flags = (from->m_flags & M_COPYFLAGS) | (to->m_flags & M_EXT);
if ((to->m_flags & M_EXT) == 0)
to->m_data = to->m_pktdat;
+ if (to->m_pkthdr.aux != NULL)
+ m_freem(to->m_pkthdr.aux);
to->m_pkthdr = from->m_pkthdr;
+ to->m_pkthdr.aux = NULL;
+ (void) m_aux_copy(to, from);
SLIST_INIT(&to->m_pkthdr.tags);
return (m_tag_copy_chain(to, from, how));
}