Florian Larysch a8801799c6 net: ipv4: fix multipath RTM_GETROUTE behavior when iif is given
inet_rtm_getroute synthesizes a skeletal ICMP skb, which is passed to
ip_route_input when iif is given. If a multipath route is present for
the designated destination, ip_multipath_icmp_hash ends up being called,
which uses the source/destination addresses within the skb to calculate
a hash. However, those are not set in the synthetic skb, causing it to
return an arbitrary and incorrect result.

Instead, use UDP, which gets no such special treatment.

Signed-off-by: Florian Larysch <fl@n621.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-04-06 12:18:56 -07:00
..
2017-02-13 22:15:03 -05:00
2017-02-27 18:43:47 -08:00
2016-10-20 14:32:22 -04:00
2017-01-13 22:37:16 -05:00
2017-02-21 12:23:53 -05:00
2017-02-27 18:43:47 -08:00
2017-02-15 11:04:11 +01:00
2017-03-24 20:50:28 -07:00
2017-03-13 21:55:47 -07:00
2016-06-10 23:07:49 -07:00
2016-09-21 00:23:00 -04:00
2016-10-20 14:32:22 -04:00
2017-02-15 11:04:11 +01:00
2017-01-10 10:57:12 +01:00