summaryrefslogtreecommitdiffstats
path: root/sys/dev/stge
diff options
context:
space:
mode:
authorcsjp <csjp@FreeBSD.org>2007-03-04 03:38:08 +0000
committercsjp <csjp@FreeBSD.org>2007-03-04 03:38:08 +0000
commit17dc3a8d0b99255798645d58a5ad21868c501fb3 (patch)
tree1601222866235bd2ad7ddd38e1756c289fe6c2e6 /sys/dev/stge
parent634904f27201bb4606a9aa3afc7ff6bac6d0c34d (diff)
downloadFreeBSD-src-17dc3a8d0b99255798645d58a5ad21868c501fb3.zip
FreeBSD-src-17dc3a8d0b99255798645d58a5ad21868c501fb3.tar.gz
Catch up the rest of the drivers with the ether_vlan_mtap modifications.
If these drivers are setting M_VLANTAG because they are stripping the layer 2 802.1Q headers, then they need to be re-inserting them so any bpf(4) peers can properly decode them. It should be noted that this is compiled tested only. MFC after: 3 weeks
Diffstat (limited to 'sys/dev/stge')
-rw-r--r--sys/dev/stge/if_stge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/stge/if_stge.c b/sys/dev/stge/if_stge.c
index 451ee12..caca238 100644
--- a/sys/dev/stge/if_stge.c
+++ b/sys/dev/stge/if_stge.c
@@ -1346,7 +1346,7 @@ stge_start_locked(struct ifnet *ifp)
* If there's a BPF listener, bounce a copy of this frame
* to him.
*/
- BPF_MTAP(ifp, m_head);
+ ETHER_BPF_MTAP(ifp, m_head);
}
if (enq > 0) {
OpenPOWER on IntegriCloud