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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux