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/nfe | |
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/nfe')
-rw-r--r-- | sys/dev/nfe/if_nfe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/nfe/if_nfe.c b/sys/dev/nfe/if_nfe.c index baeb090..0c54827 100644 --- a/sys/dev/nfe/if_nfe.c +++ b/sys/dev/nfe/if_nfe.c @@ -1700,7 +1700,7 @@ nfe_start_locked(struct ifnet *ifp) /* packet put in h/w queue, remove from s/w queue */ IFQ_DEQUEUE(&ifp->if_snd, m0); - BPF_MTAP(ifp, m0); + ETHER_BPF_MTAP(ifp, m0); } if (sc->txq.cur == old) { /* nothing sent */ return; |