From nobody  Tue Jun 24 06:50:24 1997
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.5/8.8.5) id GAA15232;
          Tue, 24 Jun 1997 06:50:24 -0700 (PDT)
Message-Id: <199706241350.GAA15232@hub.freebsd.org>
Date: Tue, 24 Jun 1997 06:50:24 -0700 (PDT)
From: yamagata@nwgpc.kek.jp
To: freebsd-gnats-submit@freebsd.org
Subject: if_le doesnt receive ether multicast packet correctly.
X-Send-Pr-Version: www-1.0

>Number:         3944
>Category:       kern
>Synopsis:       if_le doesnt receive ether multicast packet correctly.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    paul
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 24 07:00:01 PDT 1997
>Closed-Date:    Mon May 16 11:11:37 GMT 2005
>Last-Modified:  Mon May 16 11:11:37 GMT 2005
>Originator:     yamagata
>Release:        2.2.1-RELEASE
>Organization:
KEK , Tsukuba , Japan
>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.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->paul 
Responsible-Changed-By: johan 
Responsible-Changed-When: Tue Oct 17 12:42:48 PDT 2000 
Responsible-Changed-Why:  
Over to le(4) maintainer who can descide what to do 
with this old PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=3944 
State-Changed-From-To: open->closed 
State-Changed-By: paul 
State-Changed-When: Mon May 16 11:11:06 GMT 2005 
State-Changed-Why:  
The le driver has been deprecated and is no longer in the tree. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=3944 
>Unformatted:
