Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/arch/sun3/dev Pull up following revision(s) (requeste...



details:   https://anonhg.NetBSD.org/src/rev/7bc0726df891
branches:  netbsd-8
changeset: 435168:7bc0726df891
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Jul 31 16:05:42 2018 +0000

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

        sys/arch/sun3/dev/if_ie.c: revision 1.64

Remove bpf_tap() in iexmit() because ie_start() does bpf_mtap().

diffstat:

 sys/arch/sun3/dev/if_ie.c |  11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diffs (32 lines):

diff -r 15d255cf0035 -r 7bc0726df891 sys/arch/sun3/dev/if_ie.c
--- a/sys/arch/sun3/dev/if_ie.c Tue Jul 31 16:03:37 2018 +0000
+++ b/sys/arch/sun3/dev/if_ie.c Tue Jul 31 16:05:42 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ie.c,v 1.62.6.1 2018/07/26 23:55:29 snj Exp $ */
+/*     $NetBSD: if_ie.c,v 1.62.6.2 2018/07/31 16:05:42 martin Exp $ */
 
 /*-
  * Copyright (c) 1993, 1994, 1995 Charles M. Hannum.
@@ -98,7 +98,7 @@
 */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.62.6.1 2018/07/26 23:55:29 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.62.6.2 2018/07/31 16:05:42 martin Exp $");
 
 #include "opt_inet.h"
 #include "opt_ns.h"
@@ -725,13 +725,6 @@
                    sc->xctail);
 #endif
 
-       /*
-        * If BPF is listening on this interface, let it see the packet before
-        * we push it on the wire.
-        */
-       bpf_tap(ifp, sc->xmit_cbuffs[sc->xctail],
-           SWAP(sc->xmit_buffs[sc->xctail]->ie_xmit_flags));
-
        sc->xmit_buffs[sc->xctail]->ie_xmit_flags |= IE_XMIT_LAST;
        sc->xmit_buffs[sc->xctail]->ie_xmit_next = SWAP(0xffff);
        sc->xmit_buffs[sc->xctail]->ie_xmit_buf =



Home | Main Index | Thread Index | Old Index