ipv6: Do not iterate over all interfaces when finding source address on specific...
authorYOSHIFUJI Hideaki/吉藤英明 <hideaki.yoshifuji@miraclelinux.com>
Fri, 10 Jul 2015 07:58:31 +0000 (16:58 +0900)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jul 2015 06:19:25 +0000 (23:19 -0700)
commit9131f3de24db4dc12199aede7d931e6703e97f3b
treeea13e83bc605c2a1c0d7baca9f11c55e93cc0a25
parent6979b9cf58c86d14ceb1702b5b3fa4f63c98c013
ipv6: Do not iterate over all interfaces when finding source address on specific interface.

If outgoing interface is specified and the candidate address is
restricted to the outgoing interface, it is enough to iterate
over that given interface only.

Signed-off-by: YOSHIFUJI Hideaki <hideaki.yoshifuji@miraclelinux.com>
Acked-by: Erik Kline <ek@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c