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/msk | |
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/msk')
-rw-r--r-- | sys/dev/msk/if_msk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/msk/if_msk.c b/sys/dev/msk/if_msk.c index d93a69f5ee34..b830cf334032 100644 --- a/sys/dev/msk/if_msk.c +++ b/sys/dev/msk/if_msk.c @@ -2870,7 +2870,7 @@ msk_start(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) { |