Module Name:    src
Committed By:   msaitoh
Date:           Fri Jun 22 09:31:04 UTC 2018

Modified Files:
        src/sys/arch/sun3/dev: if_ie.c

Log Message:
 Remove bpf_tap() in iexmit() because ie_start() does bpf_mtap().


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/arch/sun3/dev/if_ie.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/sun3/dev/if_ie.c
diff -u src/sys/arch/sun3/dev/if_ie.c:1.63 src/sys/arch/sun3/dev/if_ie.c:1.64
--- src/sys/arch/sun3/dev/if_ie.c:1.63	Fri Jun 22 04:17:41 2018
+++ src/sys/arch/sun3/dev/if_ie.c	Fri Jun 22 09:31:04 2018
@@ -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 @@ iexmit(struct ie_softc *sc)
 		    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 =

Reply via email to