Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/booke/dev Added missing tx bpf_mtap().



details:   https://anonhg.NetBSD.org/src/rev/bac005818151
branches:  trunk
changeset: 805721:bac005818151
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Fri Jan 16 06:38:27 2015 +0000

description:
Added missing tx bpf_mtap().

diffstat:

 sys/arch/powerpc/booke/dev/pq3etsec.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 65f7106fd751 -r bac005818151 sys/arch/powerpc/booke/dev/pq3etsec.c
--- a/sys/arch/powerpc/booke/dev/pq3etsec.c     Fri Jan 16 05:50:15 2015 +0000
+++ b/sys/arch/powerpc/booke/dev/pq3etsec.c     Fri Jan 16 06:38:27 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pq3etsec.c,v 1.21 2015/01/16 05:50:15 nonaka Exp $     */
+/*     $NetBSD: pq3etsec.c,v 1.22 2015/01/16 06:38:27 nonaka Exp $     */
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -39,7 +39,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pq3etsec.c,v 1.21 2015/01/16 05:50:15 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pq3etsec.c,v 1.22 2015/01/16 06:38:27 nonaka Exp $");
 
 #include <sys/param.h>
 #include <sys/cpu.h>
@@ -2151,6 +2151,7 @@
 #endif
                        if (m->m_flags & M_HASFCB)
                                m_adj(m, sizeof(struct txfcb));
+                       bpf_mtap(ifp, m);
                        ifp->if_opackets++;
                        ifp->if_obytes += m->m_pkthdr.len;
                        if (m->m_flags & M_MCAST)



Home | Main Index | Thread Index | Old Index