]> 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)
commit25f80f53cd2b065b11fac81695f3dbd1982d6861
treeea13e83bc605c2a1c0d7baca9f11c55e93cc0a25
parentf6214c3ca6a734686c94b1c1b12b3470ae6e4b63
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