summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2016-08-13 01:13:38 +0900
committerDavid S. Miller <davem@davemloft.net>2016-08-15 12:19:09 -0700
commit5e457896986e16c440c97bb94b9ccd95dd157292 (patch)
treef5ea984e93a8d87d8dadddc54c19536cb3d80d6b /kernel
parent12311959ecf8a3a64676c01b62ce67a0c5f0fd49 (diff)
downloadlinux-5e457896986e16c440c97bb94b9ccd95dd157292.tar.gz
linux-5e457896986e16c440c97bb94b9ccd95dd157292.tar.bz2
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 'kernel')
0 files changed, 0 insertions, 0 deletions