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