From owner-freebsd-stable@FreeBSD.ORG Thu Aug 11 09:28:51 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 EAA2616A41F; Thu, 11 Aug 2005 09:28:51 +0000 (GMT) (envelope-from Mark_Andrews@isc.org) Received: from farside.isc.org (farside.isc.org [204.152.187.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62C0B43D53; Thu, 11 Aug 2005 09:28:51 +0000 (GMT) (envelope-from Mark_Andrews@isc.org) Received: from drugs.dv.isc.org (localhost [IPv6:::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by farside.isc.org (Postfix) with ESMTP id 98E85677FD; Thu, 11 Aug 2005 09:28:50 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (8.13.3/8.13.1) with ESMTP id j7B9SemH093025; Thu, 11 Aug 2005 19:28:40 +1000 (EST) (envelope-from marka@drugs.dv.isc.org) Message-Id: <200508110928.j7B9SemH093025@drugs.dv.isc.org> To: Hajimu UMEMOTO From: Mark Andrews In-reply-to: Your message of "Thu, 11 Aug 2005 17:53:25 +0900." Date: Thu, 11 Aug 2005 19:28:40 +1000 Sender: Mark_Andrews@isc.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 09:28:52 -0000 > 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)) { I can't see how that can have any effect as the shift is only 0..15 (0xf). filter[h >> 4] |= 1 << (h & 0xF); -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org