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

From: Vlad Yasevich <[email-masked]>
Date: Thu, 26 Jul 2007 13:59:04 -0400

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