Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/dev/ic Pull up revision 1.26 (via patch, requested ...
details: https://anonhg.NetBSD.org/src/rev/4d5dedcfb725
branches: netbsd-1-4
changeset: 470320:4d5dedcfb725
user: he <he%NetBSD.org@localhost>
date: Tue Feb 08 22:04:45 2000 +0000
description:
Pull up revision 1.26 (via patch, requested by thorpej):
Don't rely on the receive descriptor's BCAST/MCAST status bits.
Instead, test the Ethernet destination address to see if it's
multicast.
diffstat:
sys/dev/ic/smc83c170.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r 31c0800dbfad -r 4d5dedcfb725 sys/dev/ic/smc83c170.c
--- a/sys/dev/ic/smc83c170.c Tue Feb 08 00:21:23 2000 +0000
+++ b/sys/dev/ic/smc83c170.c Tue Feb 08 22:04:45 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: smc83c170.c,v 1.15.2.1 1999/06/18 18:13:52 perry Exp $ */
+/* $NetBSD: smc83c170.c,v 1.15.2.2 2000/02/08 22:04:45 he Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -728,8 +728,7 @@
if ((ifp->if_flags & IFF_PROMISC) != 0 &&
bcmp(LLADDR(ifp->if_sadl), eh->ether_dhost,
ETHER_ADDR_LEN) != 0 &&
- (rxd->er_rxstatus &
- (ER_RXSTAT_BCAST|ER_RXSTAT_MCAST)) == 0) {
+ ETHER_IS_MULTICAST(eh->ether_dhost) == 0) {
m_freem(m);
continue;
}
Home |
Main Index |
Thread Index |
Old Index