]> git.itanic.dy.fi Git - linux-stable/commit
[PATCH] IPV6: Fix source address selection.
author$,1 aukasz Stelmach <stlman@poczta.fm>
Thu, 22 Jun 2006 08:39:05 +0000 (01:39 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 17 Jul 2006 13:54:20 +0000 (06:54 -0700)
commit1d3688b61337c13317492af7a50424303294584d
treec62bc35b7c8690ee7564a2bcb7e943822f8f9b05
parente7291d7695d3271fe6062039a21e1ab276390554
[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: \e$,1 aukasz 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv6/addrconf.c