Fix panic in ng_patch(4) caused by checksum flags being added to mbuf flags.

Tested by:        Maxim Ignatenko <gelraen.ua@gmail.com>
Approved by:      kib(mentor)

MFC after:        3 days
This commit is contained in:
Alexander V. Chernikov 2012-04-22 17:00:52 +00:00
parent e36c7d52b3
commit 3a0cd8db78

@ -517,7 +517,7 @@ ng_patch_rcvdata(hook_p hook, item_p item)
return (ENOMEM);
}
do_patch(priv, m);
m->m_flags |= priv->config->csum_flags;
m->m_pkthdr.csum_flags |= priv->config->csum_flags;
}
target = NULL;