Subject: Re: [PATCH net-next] ipv6: Do not iterate over all interfaces when finding source address on specific interface.

From: YOSHIFUJI Hideaki <[email-masked]>
Date: Fri, 10 Jul 2015 16:31:23 +0900

Hi,

Erik Kline wrote:

>> +       /* Candidate Source Address (section 4)
>> +        *  - multicast and link-local destination address,
>> +        *    the set of candidate source address MUST only
>> +        *    include addresses assigned to interfaces
>> +        *    belonging to the same link as the outgoing
>> +        *    interface.
>> +        * (- For site-local destination addresses, the
>> +        *    set of candidate source addresses MUST only
>> +        *    include addresses assigned to interfaces
>> +        *    belonging to the same site as the outgoing
>> +        *    interface.)
>> +        *  - "It is RECOMMENDED that the candidate source addresses
>> +        *    be the set of unicast addresses assigned to the
>> +        *    interface that will be used to send to the destination
>> +        *    (the 'outgoing' interface)." (RFC 6724)
>> +        */

Sorry, I forgot to remove 3rd one, which should be removed for now; I'll
resubmit.

-- 
Hideaki Yoshifuji <[email-masked]>
Technical Division, MIRACLE LINUX CORPORATION