Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun3/dev Remove bpf_tap() in iexmit() because ie_st...



details:   https://anonhg.NetBSD.org/src/rev/432c64269463
branches:  trunk
changeset: 362708:432c64269463
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Jun 22 09:31:04 2018 +0000

description:
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 ab4c4f47c180 -r 432c64269463 sys/arch/sun3/dev/if_ie.c
--- a/sys/arch/sun3/dev/if_ie.c Fri Jun 22 09:13:59 2018 +0000
+++ b/sys/arch/sun3/dev/if_ie.c Fri Jun 22 09:31:04 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ie.c,v 1.63 2018/06/22 04:17:41 msaitoh Exp $ */
+/*     $NetBSD: if_ie.c,v 1.64 2018/06/22 09:31:04 msaitoh 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.63 2018/06/22 04:17:41 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.64 2018/06/22 09:31:04 msaitoh 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