diff options
| author | Florian Larysch <fl@n621.de> | 2017-04-03 16:46:09 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-04-06 12:18:56 -0700 |
| commit | a8801799c6975601fd58ae62f48964caec2eb83f (patch) | |
| tree | a5072ee506c70b384c280e9d60101e5afd62efb6 /tools/perf/scripts/python/bin | |
| parent | Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/vir... (diff) | |
| download | linux-a8801799c6975601fd58ae62f48964caec2eb83f.tar.gz linux-a8801799c6975601fd58ae62f48964caec2eb83f.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
