use m_dup instead of m_copypacket when doing internal bridging
in case packets are modified (e.g. encrypted) MFC after: 1 week
This commit is contained in:
parent
48b91889b4
commit
a8eb5364fe
@ -674,7 +674,7 @@ ieee80211_deliver_data(struct ieee80211com *ic,
|
||||
struct mbuf *m1 = NULL;
|
||||
|
||||
if (ETHER_IS_MULTICAST(eh->ether_dhost)) {
|
||||
m1 = m_copypacket(m, M_DONTWAIT);
|
||||
m1 = m_dup(m, M_DONTWAIT);
|
||||
if (m1 == NULL)
|
||||
ifp->if_oerrors++;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user