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:
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user