Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/15d255cf0035
branches:  netbsd-8
changeset: 435167:15d255cf0035
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Jul 31 16:03:37 2018 +0000

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

        sys/dev/pci/if_de.c: revision 1.153

Remove bpf_tap() call in rx. It's done in if_percpuq_softint().

diffstat:

 sys/dev/pci/if_de.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (29 lines):

diff -r 10ed1d284a12 -r 15d255cf0035 sys/dev/pci/if_de.c
--- a/sys/dev/pci/if_de.c       Tue Jul 31 16:01:12 2018 +0000
+++ b/sys/dev/pci/if_de.c       Tue Jul 31 16:03:37 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_de.c,v 1.150.8.1 2018/07/26 23:55:30 snj Exp $      */
+/*     $NetBSD: if_de.c,v 1.150.8.2 2018/07/31 16:03:37 martin Exp $   */
 
 /*-
  * Copyright (c) 1994-1997 Matt Thomas (matt%3am-software.com@localhost)
@@ -37,7 +37,7 @@
  *   board which support 21040, 21041, or 21140 (mostly).
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_de.c,v 1.150.8.1 2018/07/26 23:55:30 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_de.c,v 1.150.8.2 2018/07/31 16:03:37 martin Exp $");
 
 #define        TULIP_HDR_DATA
 
@@ -3639,10 +3639,6 @@
 #endif /* TULIP_BUS_DMA */
 
            eh = *mtod(ms, struct ether_header *);
-           if (sc->tulip_bpf != NULL) {
-               if (me == ms)
-                   bpf_tap(ifp, mtod(ms, void *), total_len);
-           }
            sc->tulip_flags |= TULIP_RXACT;
            if ((sc->tulip_flags & (TULIP_PROMISC|TULIP_HASHONLY))
                    && (eh.ether_dhost[0] & 1) == 0



Home | Main Index | Thread Index | Old Index