Re: [PATH] [MCAST] IPv6: Fix algorithm to compute Querier's Query Intervaland Maximum Response Delay

From: David Stevens
Date: Fri Oct 28 2005 - 12:18:41 EST


Yes, I think you're correct.

Acked-by: David L Stevens <dlstevens@xxxxxxxxxx>
>
> Signed-off-by: Yan Zheng <yanzheng@xxxxxxxx>
>
> Index: net/ipv6/mcast.c
> ===================================================================
> --- linux-2.6.14/net/ipv6/mcast.c 2005-10-28 08:02:08.000000000 +0800
> +++ linux/net/ipv6/mcast.c 2005-10-28 23:41:18.000000000 +0800
> @@ -164,7 +164,7 @@
> #define MLDV2_MASK(value, nb) ((nb)>=32 ? (value) : ((1<<(nb))-1) &
(value))
> #define MLDV2_EXP(thresh, nbmant, nbexp, value) \
> ((value) < (thresh) ? (value) : \
> - ((MLDV2_MASK(value, nbmant) | (1<<(nbmant+nbexp))) << \
> + ((MLDV2_MASK(value, nbmant) | (1<<(nbmant))) << \
> (MLDV2_MASK((value) >> (nbmant), nbexp) + (nbexp))))
>
> #define MLDV2_QQIC(value) MLDV2_EXP(0x80, 4, 3, value)
>
> -
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/