IPv6 router solicitation not being received
Mark Andrews
Mark_Andrews at isc.org
Thu Aug 11 09:28:52 GMT 2005
> 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 at isc.org
More information about the freebsd-stable
mailing list