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

From: Dave Johnson
Date: Wed Jul 25 2007 - 21:12:03 EST


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()

--
Dave Johnson
Starent Networks

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