Re: [Lksctp-developers] [PATCH] IPv6: ipv6_addr_type() doesn't knowabout RFC4193 addresses

From: Vlad Yasevich
Date: Thu Jul 26 2007 - 14:00:10 EST


Dave Johnson wrote:
> David Miller writes:
>> Contrarily, there may be ipv6_addr_type() call sites that really
>> do want to reject rfc4193 addresses.
>
> A quick look through the callers and only these functions should be
> effected, they check either RESERVED or UNICAST from ipv6_addr_type():
>
> net/ipv6/addrconf.c: ipv6_dev_get_saddr()
> net/ipv6/exthdrs.c: ipv6_dest_hao()
> net/ipv6/ip6_tunnel.c: ip6_tnl_set_cap()
> net/ipv6/netfilter/ip6t_REJECT.c: send_reset()
> net/ipv6/route.c: ip6_route_add()
> net/ipv6/route.c: ip6_pkt_drop()
> net/sctp/ipv6.c: sctp_v6_available()
> net/sctp/ipv6.c: sctp_v6_addr_valid()
>

Well, it's not just for SCTP. ULA address are considered of Global scope.
See this message
http://marc.info/?l=linux-netdev&m=118492205915816&w=2

-vlad
-
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/