]> err.no Git - linux-2.6/commit
[IPV6]: Fix source address selection for ORCHID addresses
authorJuha-Matti Tapio <jmtapio@verkkotelakka.net>
Fri, 29 Feb 2008 04:55:46 +0000 (20:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Feb 2008 04:55:46 +0000 (20:55 -0800)
commit99cd07a537bf4c7c954f31611e30064407104410
tree4abc67b2f95b3220bfa467cb9c85156cd17e3ab7
parent5fe47b8a65f8b4104e41dc46092dfcf942ce0758
[IPV6]: Fix source address selection for ORCHID addresses

Skip the prefix length matching in source address selection for
orchid -> non-orchid addresses.

Overlay Routable Cryptographic Hash IDentifiers (RFC 4843,
2001:10::/28) are currenty not globally reachable. Without this
check a host with an ORCHID address can end up preferring those over
regular addresses when talking to other regular hosts in the 2001::/16
range thus breaking non-orchid connections.

Signed-off-by: Juha-Matti Tapio <jmtapio@verkkotelakka.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipv6.h
net/ipv6/addrconf.c