mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 00:11:07 -05:00
must do a deep copy of mcast packets as they can be modified after dispatch
Submitted by: "Jared Go" <jared@hobnob.com>
This commit is contained in:
parent
d47faadce3
commit
74fdefa7c9
1 changed files with 1 additions and 1 deletions
|
|
@ -319,7 +319,7 @@ hostap_deliver_data(struct ieee80211vap *vap,
|
|||
struct mbuf *mcopy = NULL;
|
||||
|
||||
if (m->m_flags & M_MCAST) {
|
||||
mcopy = m_copypacket(m, M_DONTWAIT);
|
||||
mcopy = m_dup(m, M_DONTWAIT);
|
||||
if (mcopy == NULL)
|
||||
ifp->if_oerrors++;
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue