summaryrefslogtreecommitdiffstats
path: root/sys/dev/cx
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2014-10-05 01:28:21 +0000
committerneel <neel@FreeBSD.org>2014-10-05 01:28:21 +0000
commit16cbb8793a45363cd459773925c4c4862981337f (patch)
tree1e6608f8ef66c867da6e5230b193da69248605c9 /sys/dev/cx
parent09ab9e29373f2b48f72ff71789f6afc0e01c2c91 (diff)
parent61bd408732db9323eacb07c5e0c0a11f957b76d0 (diff)
downloadFreeBSD-src-16cbb8793a45363cd459773925c4c4862981337f.zip
FreeBSD-src-16cbb8793a45363cd459773925c4c4862981337f.tar.gz
IFC @r272481
Diffstat (limited to 'sys/dev/cx')
-rw-r--r--sys/dev/cx/if_cx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cx/if_cx.c b/sys/dev/cx/if_cx.c
index eecab5f..360e1f6 100644
--- a/sys/dev/cx/if_cx.c
+++ b/sys/dev/cx/if_cx.c
@@ -1318,7 +1318,7 @@ static void cx_receive (cx_chan_t *c, char *data, int len)
m->m_pkthdr.rcvif = d->ifp;
/* Check if there's a BPF listener on this interface.
* If so, hand off the raw packet to bpf. */
- BPF_TAP (d->ifp, data, len);
+ BPF_MTAP(d->ifp, m);
IF_ENQUEUE (&d->queue, m);
#endif
}
OpenPOWER on IntegriCloud