In article <[EMAIL PROTECTED]> (at Wed, 21 Jun 2006 15:42:11 +0200), Lukasz 
Stelmach <[EMAIL PROTECTED]> says:

> --- /usr/src/linux/net/ipv6/addrconf.c~       2006-06-21 11:41:22.000000000 
> +0200
> +++ /usr/src/linux/net/ipv6/addrconf.c        2006-06-21 15:33:26.000000000 
> +0200
> @@ -862,6 +862,8 @@
>    *  2002::/16               2
>    *  ::/96                   3
>    *  ::ffff:0:0/96           4
> +  *  fc00::/7                5
> +  *  2001::/32               6
>    */
>       if (type & IPV6_ADDR_LOOPBACK)
>               return 0;
> @@ -871,6 +873,10 @@
>               return 4;
>       else if (addr->s6_addr16[0] == htons(0x2002))
>               return 2;
> +     else if ((addr->s6_addr[0] & 0xfe) == 0xfc)
> +             return 5;
> +     else if (addr->s6_addr32[0] == htonl(0x20010000))
> +             return 6;
>       return 1;
>  }
>  

Please put the comparison for 2001::/32 before 2002::/16.
Otherwise, I'm fine with it.

In addition, give us your sign-off, please.

Regards,

-- 
YOSHIFUJI Hideaki @ USAGI Project  <[EMAIL PROTECTED]>
GPG-FP  : 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to