]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[IPV6]: Fix source address selection.
authorŁukasz Stelmach <stlman@poczta.fm>
Thu, 22 Jun 2006 08:37:19 +0000 (01:37 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 23 Jun 2006 09:07:22 +0000 (02:07 -0700)
commit102128e3a27821bdcbacb10f4f2bba253f587ba4
treebbde6e385045eea27c5e8aeae051ac420a5cda92
parent5b057c6b1a25d57edf2b4d1e956e50936480a9ff
[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>
net/ipv6/addrconf.c