Re: [PATCH] ipv6: order addresses by scope

2006-07-10 Thread David Miller
From: Brian Haley [EMAIL PROTECTED] Date: Fri, 09 Jun 2006 14:14:50 -0400 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:

Re: [PATCH] ipv6: order addresses by scope

2006-07-10 Thread YOSHIFUJI Hideaki / 吉藤英明
In article [EMAIL PROTECTED] (at Mon, 10 Jul 2006 15:00:45 -0700 (PDT)), David Miller [EMAIL PROTECTED] says: 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

Re: [PATCH] ipv6: order addresses by scope

2006-07-10 Thread David Miller
From: YOSHIFUJI Hideaki [EMAIL PROTECTED] Date: Mon, 10 Jul 2006 18:18:16 -0400 (EDT) In article [EMAIL PROTECTED] (at Mon, 10 Jul 2006 15:00:45 -0700 (PDT)), David Miller [EMAIL PROTECTED] says: If IPv6 addresses are ordered by scope, then ipv6_dev_get_saddr() can break-out of the

[PATCH] ipv6: order addresses by scope

2006-06-09 Thread Brian Haley
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 [EMAIL PROTECTED] diff --git a/net/ipv6/addrconf.c