Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic bpf_mtap*() after ieee80211_encap() should be bpf...
details: https://anonhg.NetBSD.org/src/rev/16423e8986c1
branches: trunk
changeset: 323690:16423e8986c1
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Tue Jun 26 06:17:40 2018 +0000
description:
bpf_mtap*() after ieee80211_encap() should be bpf_mtap3() rather than
bpf_mtap(). bpf_mtap3() is for raw bpf.
diffstat:
sys/dev/ic/malo.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 6f01ea2b4a15 -r 16423e8986c1 sys/dev/ic/malo.c
--- a/sys/dev/ic/malo.c Tue Jun 26 06:16:09 2018 +0000
+++ b/sys/dev/ic/malo.c Tue Jun 26 06:17:40 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: malo.c,v 1.10 2017/10/23 09:31:17 msaitoh Exp $ */
+/* $NetBSD: malo.c,v 1.11 2018/06/26 06:17:40 msaitoh Exp $ */
/* $OpenBSD: malo.c,v 1.92 2010/08/27 17:08:00 jsg Exp $ */
/*
@@ -19,7 +19,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: malo.c,v 1.10 2017/10/23 09:31:17 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: malo.c,v 1.11 2018/06/26 06:17:40 msaitoh Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -1074,7 +1074,7 @@
m0 = ieee80211_encap(ic, m0, ni);
if (m0 == NULL)
continue;
- bpf_mtap(ifp, m0);
+ bpf_mtap3(ic->ic_rawbpf, m0);
if (malo_tx_data(sc, m0, ni) != 0) {
ieee80211_free_node(ni);
Home |
Main Index |
Thread Index |
Old Index