Date: Tue, 24 Jun 1997 06:50:24 -0700 (PDT) From: yamagata@nwgpc.kek.jp To: freebsd-gnats-submit@FreeBSD.ORG Subject: kern/3944: if_le doesnt receive ether multicast packet correctly. Message-ID: <199706241350.GAA15232@hub.freebsd.org> Resent-Message-ID: <199706241400.HAA15615@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 3944 >Category: kern >Synopsis: if_le doesnt receive ether multicast packet correctly. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 24 07:00:01 PDT 1997 >Last-Modified: >Originator: yamagata >Organization: KEK , Tsukuba , Japan >Release: 2.2.1-RELEASE >Environment: FreeBSD kekhw2.kek.jp 2.2.1-RELEASE FreeBSD 2.2.1-RELEASE #1: Tue Jun 17 12:04:24 JST 1997 >Description: le0 at 0x300-0x30f irq 10 maddr 0xc8000 msize 32768 on isa le0: DE202 ethernet address 08:00:2b:3b:88:d0 this card and if_de driver doesnt receive ether multicast correctly, it receive packet which is differ from what I intended. It seems to be that multicast CRC table is wrong. >How-To-Repeat: Using mtest, add multicast address 33:33:0:0:0:1, it receive many ether multicast packet. but it doesn't receive 33:33:0:0:0:1 at all. >Fix: *** if_le.c.orig Sat Sep 7 08:07:40 1996 --- if_le.c Tue Jun 24 22:31:21 1997 *************** *** 742,747 **** --- 742,750 ---- crc &= sc->le_mcmask; bit = 1 << (crc & (LE_MC_NBPW -1)); idx = crc >> (LE_MC_NBPW_LOG2); + #if 1111 + bit = ntohs(bit); + #endif /* * Set or clear hash filter bit in our table. >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706241350.GAA15232>