Lorenzo Colitti 5e45789698 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>
2016-08-15 12:19:09 -07:00
..
2016-06-15 21:40:00 -07:00
2015-08-25 13:37:31 -07:00
2015-05-28 11:23:20 +08:00
2016-06-08 11:36:02 -07:00
2016-07-05 14:09:23 -07:00
2016-06-15 22:15:21 -07:00
2016-05-20 18:03:17 -04:00
2016-05-31 14:07:49 -07:00
2016-06-15 20:41:23 -07:00
2016-04-27 22:48:24 -04:00
2016-07-09 17:45:56 -04:00
2016-06-27 15:06:17 -04:00
2015-02-28 16:56:51 -05:00
2015-11-03 10:52:13 -05:00
2014-05-23 16:28:53 -04:00