From 17dc3a8d0b99255798645d58a5ad21868c501fb3 Mon Sep 17 00:00:00 2001 From: csjp Date: Sun, 4 Mar 2007 03:38:08 +0000 Subject: 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 --- sys/dev/txp/if_txp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/txp') 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)); } -- cgit v1.1