diff options
author | Christian S.J. Peron <csjp@FreeBSD.org> | 2007-03-04 03:38:08 +0000 |
---|---|---|
committer | Christian S.J. Peron <csjp@FreeBSD.org> | 2007-03-04 03:38:08 +0000 |
commit | 59a0d28bacbcc668a45c393f836f97cd8b536f8a (patch) | |
tree | 1601222866235bd2ad7ddd38e1756c289fe6c2e6 /sys/dev/nfe | |
parent | 2c434b2cc37b0e2861133dc15769dcdec6485a0f (diff) | |
download | src-59a0d28bacbcc668a45c393f836f97cd8b536f8a.tar.gz src-59a0d28bacbcc668a45c393f836f97cd8b536f8a.zip |
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
Notes
Notes:
svn path=/head/; revision=167190
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 baeb090a45e9..0c548270fc85 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; |