diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2016-08-13 01:13:38 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-15 12:19:09 -0700 |
commit | 5e457896986e16c440c97bb94b9ccd95dd157292 (patch) | |
tree | f5ea984e93a8d87d8dadddc54c19536cb3d80d6b /drivers/net/hyperv/hyperv_net.h | |
parent | 12311959ecf8a3a64676c01b62ce67a0c5f0fd49 (diff) | |
download | blackbird-obmc-linux-5e457896986e16c440c97bb94b9ccd95dd157292.tar.gz blackbird-obmc-linux-5e457896986e16c440c97bb94b9ccd95dd157292.zip |
net: ipv6: Fix ping to link-local addresses.
ping_v6_sendmsg does not set flowi6_oif in response to
sin6_scope_id or sk_bound_dev_if, so it is not possible to use
these APIs to ping an IPv6 address on a different interface.
Instead, it sets flowi6_iif, which is incorrect but harmless.
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@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
0 files changed, 0 insertions, 0 deletions