From owner-freebsd-stable@FreeBSD.ORG Thu Aug 11 08:53:43 2005 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 724A216A41F for ; Thu, 11 Aug 2005 08:53:43 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EFF143D62 for ; Thu, 11 Aug 2005 08:53:32 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from localhost (IDENT:Ul9MMKgOrtC4gBB5lnemL7oNxWPqFjTpufA2YENP/2q79WrTjBz8gjtRKxvexc+Z@localhost [IPv6:::1]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.3/8.13.3) with ESMTP/inet6 id j7B8rPne050168 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 11 Aug 2005 17:53:27 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Thu, 11 Aug 2005 17:53:25 +0900 Message-ID: From: Hajimu UMEMOTO To: Mark Andrews In-Reply-To: <200508110055.j7B0tNOp047256@drugs.dv.isc.org> References: <200508110055.j7B0tNOp047256@drugs.dv.isc.org> User-Agent: xcite1.38> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 5.4-STABLE X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0 (ameno.mahoroba.org [IPv6:::1]); Thu, 11 Aug 2005 17:53:28 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on ameno.mahoroba.org Cc: stable@freebsd.org Subject: Re: IPv6 router solicitation not being received X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2005 08:53:43 -0000 Hi, >>>>> On Thu, 11 Aug 2005 10:55:23 +1000 >>>>> Mark Andrews said: Mark_Andrews> I have a problem in that the router solicitations are not Mark_Andrews> being received by my FreeBSD IPv6 router unless I enable Mark_Andrews> promiscuous mode on the tx0 interface. This causes delays Mark_Andrews> to autoconf for other IPv6 boxes on the net until the Mark_Andrews> periodic router announcement is sent. Mark_Andrews> This leads me to believe that either the multicast hash Mark_Andrews> function is wrong or the request for multicast reception Mark_Andrews> on the interface is not getting through to the driver. Mark_Andrews> "rtadvd tx0" is running so theoretically it should be getting Mark_Andrews> through. Anyone aware of any issues in this area? Yes the Mark_Andrews> kernel is a bit old and needs to be updated. Could you try this patch? Since I don't have SMC 83c170 card, I cannot test it by myself. Index: sys/dev/tx/if_tx.c diff -u -p sys/dev/tx/if_tx.c.orig sys/dev/tx/if_tx.c --- sys/dev/tx/if_tx.c.orig Tue Oct 29 10:43:49 2002 +++ sys/dev/tx/if_tx.c Thu Aug 11 17:47:45 2005 @@ -1274,7 +1274,7 @@ epic_set_mc_table(sc) { struct ifnet *ifp = &sc->sc_if; struct ifmultiaddr *ifma; - u_int16_t filter[4]; + u_int32_t filter[4]; u_int8_t h; if (ifp->if_flags & (IFF_ALLMULTI | IFF_PROMISC)) { Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/