PERFORCE change 137034 for review
Sam Leffler
sam at FreeBSD.org
Thu Mar 6 23:12:06 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=137034
Change 137034 by sam at sam_ebb on 2008/03/06 23:11:22
purge 802.3 bpf taps, these happen in ether_input (we should
never reference if_bpf in net80211, only iv_rawbpf for
DLT_IEEE802_11 tap'ing)
Affected files ...
.. //depot/projects/vap/sys/net80211/ieee80211_hostap.c#18 edit
.. //depot/projects/vap/sys/net80211/ieee80211_input.c#29 edit
Differences ...
==== //depot/projects/vap/sys/net80211/ieee80211_hostap.c#18 (text+ko) ====
@@ -375,13 +375,6 @@
/* XXX only if dwds in use? */
ieee80211_dwds_mcast(vap, m);
}
- /*
- * XXX If we forward packet into transmitter of the AP,
- * we don't need to duplicate for DLT_EN10MB.
- */
- if (bpf_peers_present(ifp->if_bpf))
- bpf_mtap(ifp->if_bpf, m);
-
if (ni->ni_vlan != 0) {
/* attach vlan tag */
m->m_pkthdr.ether_vtag = ni->ni_vlan;
==== //depot/projects/vap/sys/net80211/ieee80211_input.c#29 (text+ko) ====
@@ -215,13 +215,6 @@
/* clear driver/net80211 flags before passing up */
m->m_flags &= ~M_80211_RX;
- /*
- * XXX If we forward packet into transmitter of the AP,
- * we don't need to duplicate for DLT_EN10MB.
- */
- if (bpf_peers_present(ifp->if_bpf))
- bpf_mtap(ifp->if_bpf, m);
-
if (ni->ni_vlan != 0) {
/* attach vlan tag */
m->m_pkthdr.ether_vtag = ni->ni_vlan;
More information about the p4-projects
mailing list