lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <20160808.143500.473355495580691289.davem@davemloft.net> Date: Mon, 08 Aug 2016 14:35:00 -0700 (PDT) From: David Miller <davem@...emloft.net> To: lorenzo@...gle.com Cc: netdev@...r.kernel.org, hannes@...essinduktion.org, ek@...gle.com, hideaki.yoshifuji@...aclelinux.com Subject: Re: [PATCH net] net: ipv6: Fix ping to link-local addresses. From: Lorenzo Colitti <lorenzo@...gle.com> Date: Mon, 8 Aug 2016 16:42:07 +0900 > ping_v6_sendmsg never sets flowi6_oif, so it is not possible to > ping an IPv6 address on a different interface. Instead, it sets > flowi6_iif, which is incorrect but harmless. Also, it returns an > error if a passed-in scope ID doesn't match sk_bound_dev_if. > > Get rid of the error, stop setting flowi6_iif, and support > various ways of setting oif in the same priority order used by > udpv6_sendmsg. > > Tested: https://android-review.googlesource.com/#/c/254470/ > Signed-off-by: Lorenzo Colitti <lorenzo@...gle.com> We should always give sk_bound_dev_if the highest priority. Also, we should amend, not delete, the check against the scope ID in the sockaddr. As explained by YOSHIFUJI Hideaki.
Powered by blists - more mailing lists