Date: Thu, 11 Aug 2005 19:28:40 +1000 From: Mark Andrews <Mark_Andrews@isc.org> To: Hajimu UMEMOTO <ume@freebsd.org> Cc: stable@freebsd.org Subject: Re: IPv6 router solicitation not being received Message-ID: <200508110928.j7B9SemH093025@drugs.dv.isc.org> In-Reply-To: Your message of "Thu, 11 Aug 2005 17:53:25 %2B0900." <ygeoe844zy2.wl%ume@mahoroba.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508110928.j7B9SemH093025>