summaryrefslogtreecommitdiffstats
path: root/sys/dev/cp
diff options
context:
space:
mode:
authormelifaro <melifaro@FreeBSD.org>2014-09-28 19:05:22 +0000
committermelifaro <melifaro@FreeBSD.org>2014-09-28 19:05:22 +0000
commit0beb907ba7317a50fdcc5c5f6a0f05280dcfc3c2 (patch)
treee4909fbdd34263e4844e31d151f591336d51f6a0 /sys/dev/cp
parent186c8f6391d391337988bf0d7b6fe018374ed8a6 (diff)
downloadFreeBSD-src-0beb907ba7317a50fdcc5c5f6a0f05280dcfc3c2.zip
FreeBSD-src-0beb907ba7317a50fdcc5c5f6a0f05280dcfc3c2.tar.gz
Convert most BPF_TAP users to BPF_MTAP.
MFC after: 2 weeks
Diffstat (limited to 'sys/dev/cp')
-rw-r--r--sys/dev/cp/if_cp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cp/if_cp.c b/sys/dev/cp/if_cp.c
index ca6aaf4..4e70838 100644
--- a/sys/dev/cp/if_cp.c
+++ b/sys/dev/cp/if_cp.c
@@ -902,7 +902,7 @@ static void cp_receive (cp_chan_t *c, unsigned 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