]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit08223d442b22883d0232b7d2b9fe087e77ce4be6
treeea13e83bc605c2a1c0d7baca9f11c55e93cc0a25
parenta9522775b9525132a384fb49dc17b83f27082768
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