summaryrefslogtreecommitdiffstats
path: root/sys/dev/txp
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/txp
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/txp')
-rw-r--r--sys/dev/txp/if_txp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/txp/if_txp.c b/sys/dev/txp/if_txp.c
index dfa261f..521a49c 100644
--- a/sys/dev/txp/if_txp.c
+++ b/sys/dev/txp/if_txp.c
@@ -1350,7 +1350,7 @@ txp_start_locked(ifp)
ifp->if_timer = 5;
- BPF_MTAP(ifp, m);
+ ETHER_BPF_MTAP(ifp, m);
WRITE_REG(sc, r->r_reg, TXP_IDX2OFFSET(prod));
}
OpenPOWER on IntegriCloud