aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/gre.h
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 /include/net/gre.h
parentrhashtable: fix shift by 64 when shrinking (diff)
downloadlinux-dev-5e457896986e16c440c97bb94b9ccd95dd157292.tar.xz
linux-dev-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 'include/net/gre.h')
0 files changed, 0 insertions, 0 deletions