summaryrefslogtreecommitdiffstats
path: root/sys/dev/hme
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/hme')
-rw-r--r--sys/dev/hme/if_hme.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/hme/if_hme.c b/sys/dev/hme/if_hme.c
index 47b1121..e495795 100644
--- a/sys/dev/hme/if_hme.c
+++ b/sys/dev/hme/if_hme.c
@@ -70,6 +70,7 @@
#include <sys/socket.h>
#include <sys/sockio.h>
+#include <net/bpf.h>
#include <net/ethernet.h>
#include <net/if.h>
#include <net/if_arp.h>
@@ -1052,8 +1053,11 @@ hme_start(struct ifnet *ifp)
ifp->if_flags |= IFF_OACTIVE;
IF_PREPEND(&ifp->if_snd, m);
break;
- } else
+ } else {
enq = 1;
+ if (ifp->if_bpf)
+ bpf_mtap(ifp, m);
+ }
}
if (sc->sc_rb.rb_td_nbusy == HME_NTXDESC || error == -1)
OpenPOWER on IntegriCloud