diff options
author | Brian Haley <brian.haley@hp.com> | 2006-07-10 15:25:51 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-07-12 13:58:37 -0700 |
commit | e55ffac6011731c455856072cb23aa20bd55c367 (patch) | |
tree | 0ee05b521586b74398023ee083c5f9efbc8bf271 /net/ax25/ax25_iface.c | |
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>
Diffstat (limited to 'net/ax25/ax25_iface.c')
0 files changed, 0 insertions, 0 deletions