From greg@greg.rim.or.jp  Sat Dec 19 04:26:35 1998
Received: from ns11.rim.or.jp (ns11.rim.or.jp [202.247.130.230])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA06004
          for <FreeBSD-gnats-submit@freebsd.org>; Sat, 19 Dec 1998 04:26:34 -0800 (PST)
          (envelope-from greg@greg.rim.or.jp)
Received: from rayearth.rim.or.jp (rayearth.rim.or.jp [202.247.130.242]) by ns11.rim.or.jp (8.8.5/3.5Wpl2-ns11/RIMNET-2) with ESMTP
	id VAA25224 for <FreeBSD-gnats-submit@freebsd.org>; Sat, 19 Dec 1998 21:26:31 +0900 (JST)
Received: (from uucp@localhost) by rayearth.rim.or.jp (8.8.8/3.5Wpl2-uucp1/RIMNET) with UUCP
	id VAA03482 for FreeBSD-gnats-submit@freebsd.org; Sat, 19 Dec 1998 21:26:31 +0900 (JST)
Received: from izanami.greg.rim.or.jp (izanami.greg.rim.or.jp [172.31.1.3])
	by apollon.greg.rim.or.jp (8.8.8/3.6W) with ESMTP id TAA22155;
	Sat, 19 Dec 1998 19:56:35 +0900 (JST)
Received: (from greg@localhost) by izanami.greg.rim.or.jp (8.8.8/3.4Wbeta6) id TAA21556; Sat, 19 Dec 1998 19:56:34 +0900 (JST)
Message-Id: <199812191056.TAA21556@izanami.greg.rim.or.jp>
Date: Sat, 19 Dec 1998 19:56:34 +0900 (JST)
From: greg@greg.rim.or.jp
Reply-To: greg@greg.rim.or.jp
To: FreeBSD-gnats-submit@freebsd.org
Cc: greg@greg.rim.or.jp
Subject: ep network interface driver forget calling ether_addmulti/ether_delmulti
X-Send-Pr-Version: 3.2

>Number:         9129
>Category:       kern
>Synopsis:       Is it miss take ? So, ep deriver dose not call ether_addmulti/ether_delmulti
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    mdodd
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 19 04:30:00 PST 1998
>Closed-Date:    Tue Aug 22 06:27:01 PDT 2000
>Last-Modified:  Tue Aug 22 06:31:53 PDT 2000
>Originator:     Kensaku Masuda
>Release:        FreeBSD 2.2.8-STABLE i386
>Organization:
>Environment:

	In case, FreeBSD box have few network interface included ep, And
include option MROUTING.

>Description:

	ep network interface driver do not present ALLMULTI flags,
If FreeBSD box have few network interface.

>How-To-Repeat:

	None, May be ..... Need to execute mrouted ?

>Fix:
	Few deriver look like included same problem to me.
But I have needed a fix for ep driver only.

--- if_ep.c.orig	Sat Dec 19 12:49:40 1998
+++ if_ep.c	Sat Dec 19 05:13:33 1998
@@ -1356,6 +1356,19 @@
 	     * multicast filters. If some day it will gain this
 	     * support this part of code must be extended.
 	     */
+	    error = (cmd == SIOCADDMULTI) ?
+                    ether_addmulti(ifr, &sc->arpcom) :
+                    ether_delmulti(ifr, &sc->arpcom);
+	    if (error == ENETRESET) {
+		/*
+		* Multicast list has changed; set the hardware filter
+		* accordingly.
+		*/
+		elink_reset();
+		error = 0;
+	    }
+            break;
+
 	    error = 0;
 	    break;
       default:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs
Responsible-Changed-By: steve
Responsible-Changed-When: Sat Dec 19 23:18:04 GMT 1998
Responsible-Changed-Why: 
Misfiled PR.
State-Changed-From-To: open->closed 
State-Changed-By: johan 
State-Changed-When: Tue Aug 22 06:27:01 PDT 2000 
State-Changed-Why:  
According to the comment just above this patch: 
/* 
* The Etherlink III has no programmable multicast 
* filter.  We always initialize the card to be 
* promiscuous to multicast, since we're always a 
* member of the ALL-SYSTEMS group, so there's no 
* need to process SIOC*MULTI requests. 
*/ 




Responsible-Changed-From-To: freebsd-bugs->mdodd 
Responsible-Changed-By: johan 
Responsible-Changed-When: Tue Aug 22 06:27:01 PDT 2000 
Responsible-Changed-Why:  
Over to maintainer. 

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