summaryrefslogtreecommitdiff
path: root/sys/dev/ic/smc91cxx.c
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1999-02-28 03:23:39 +0000
committerJason Wright <jason@cvs.openbsd.org>1999-02-28 03:23:39 +0000
commit8b2014f291d209ff3ff452181dde5a2507e25963 (patch)
tree95438b5752ecc8ed381c9a1dfdcf7e343aa0a3a5 /sys/dev/ic/smc91cxx.c
parent972131883b729aa5be397346b44e7f6e98a012a0 (diff)
compensate for the test of packet ownership being moved to ether_input()
Diffstat (limited to 'sys/dev/ic/smc91cxx.c')
-rw-r--r--sys/dev/ic/smc91cxx.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/sys/dev/ic/smc91cxx.c b/sys/dev/ic/smc91cxx.c
index a423c51c9e9..8878c3b4055 100644
--- a/sys/dev/ic/smc91cxx.c
+++ b/sys/dev/ic/smc91cxx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smc91cxx.c,v 1.2 1998/09/12 07:48:07 fgsch Exp $ */
+/* $OpenBSD: smc91cxx.c,v 1.3 1999/02/28 03:23:37 jason Exp $ */
/* $NetBSD: smc91cxx.c,v 1.11 1998/08/08 23:51:41 mycroft Exp $ */
/*-
@@ -991,20 +991,8 @@ smc91cxx_read(sc)
* Hand the packet off to bpf listeners. If there's a bpf listener,
* we need to check if the packet is ours.
*/
- if (ifp->if_bpf) {
+ if (ifp->if_bpf)
bpf_mtap(ifp->if_bpf, m);
-
- if ((ifp->if_flags & IFF_PROMISC) &&
- (eh->ether_dhost[0] & 1) == 0 && /* !mcast and !bcast */
-#ifdef __NetBSD__
- ether_cmp(eh->ether_dhost, LLADDR(ifp->if_sadl))) {
-#else
- ether_cmp(eh->ether_dhost, sc->sc_arpcom.ac_enaddr)) {
-#endif
- m_freem(m);
- goto out;
- }
- }
#endif
/*