diff options
author | csjp <csjp@FreeBSD.org> | 2007-03-04 03:38:08 +0000 |
---|---|---|
committer | csjp <csjp@FreeBSD.org> | 2007-03-04 03:38:08 +0000 |
commit | 17dc3a8d0b99255798645d58a5ad21868c501fb3 (patch) | |
tree | 1601222866235bd2ad7ddd38e1756c289fe6c2e6 /sys/dev/vge | |
parent | 634904f27201bb4606a9aa3afc7ff6bac6d0c34d (diff) | |
download | FreeBSD-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/vge')
-rw-r--r-- | sys/dev/vge/if_vge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vge/if_vge.c b/sys/dev/vge/if_vge.c index ab94094..466e4fc 100644 --- a/sys/dev/vge/if_vge.c +++ b/sys/dev/vge/if_vge.c @@ -1847,7 +1847,7 @@ vge_start(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 (idx == sc->vge_ldata.vge_tx_prodidx) { |