commit | e55ffac6011731c455856072cb23aa20bd55c367 | [log] [tgz] |
---|---|---|
author | Brian Haley <brian.haley@hp.com> | Mon Jul 10 15:25:51 2006 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Jul 12 13:58:37 2006 -0700 |
tree | 0ee05b521586b74398023ee083c5f9efbc8bf271 | |
parent | 155dbfd8846bf165bb036c4492ad121c8b059f1d [diff] |
[IPV6]: order addresses by scope If IPv6 addresses are ordered by scope, then ipv6_dev_get_saddr() can break-out of the device addr_list for() loop when the candidate source address scope is less than the destination address scope. Signed-off-by: Brian Haley <brian.haley@hp.com> Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>