Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/sys/dev/ic Pull up following revision(s) (requested by ms...



details:   https://anonhg.NetBSD.org/src/rev/856417dbf111
branches:  netbsd-8
changeset: 851907:856417dbf111
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Jul 31 16:22:51 2018 +0000

description:
Pull up following revision(s) (requested by msaitoh in ticket #952):

        sys/dev/ic/malo.c: revision 1.11

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 4223e932e3be -r 856417dbf111 sys/dev/ic/malo.c
--- a/sys/dev/ic/malo.c Tue Jul 31 16:20:33 2018 +0000
+++ b/sys/dev/ic/malo.c Tue Jul 31 16:22:51 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: malo.c,v 1.9.6.1 2017/12/10 10:10:23 snj Exp $ */
+/*     $NetBSD: malo.c,v 1.9.6.2 2018/07/31 16:22:51 martin 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.9.6.1 2017/12/10 10:10:23 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: malo.c,v 1.9.6.2 2018/07/31 16:22:51 martin 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