[PATCH] IPV6: Fix source address selection.
authorŁukasz Stelmach <stlman@poczta.fm>
Thu, 22 Jun 2006 08:39:05 +0000 (01:39 -0700)
committerChris Wright <chrisw@sous-sol.org>
Fri, 30 Jun 2006 00:17:16 +0000 (17:17 -0700)
commitac16ac4c1202baff72f889f3904ca480bea93d76
tree9c48cafa9b9a035ef71bf52ea514d1e4c024b512
parente0072c1bbbdcb819e8df0a67229bb9eed2accec3
[PATCH] IPV6: Fix source address selection.

Two additional labels (RFC 3484, sec. 10.3) for IPv6 addreses
are defined to make a distinction between global unicast
addresses and Unique Local Addresses (fc00::/7, RFC 4193) and
Teredo (2001::/32, RFC 4380). It is necessary to avoid attempts
of connection that would either fail (eg. fec0:: to 2001:feed::)
or be sub-optimal (2001:0:: to 2001:feed::).

Signed-off-by: Łukasz Stelmach <stlman@poczta.fm>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
net/ipv6/addrconf.c