aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2016-08-13 01:13:38 +0900
committerMoyster <oysterized@gmail.com>2016-11-17 12:20:19 +0100
commite3cb9f56ec3124355d5f817f1b7d892d2b9ead32 (patch)
tree3ddf956d203ac9560edeafe996cfa0eec9a13de9 /include/uapi/linux
parent2c81b0d8b41b0fbeb974589eec5ed76d405106e0 (diff)
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. [Backport of net 5e457896986e16c440c97bb94b9ccd95dd157292] Bug: 29370996 Change-Id: I2c8bc213c417a4427f64439e0954138cb30416c2 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 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions