diff options
author | David Ahern <dsahern@gmail.com> | 2018-09-26 17:35:14 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-18 09:18:11 +0200 |
commit | e3827b9bc3ba2bcfe5eef2fa2d440d7e1734f362 (patch) | |
tree | 867f3321e0b5fb1456247cc58b436517c7caab27 /drivers/net/ethernet | |
parent | 47049f54f89db90ad5effb3100735950fc0dcee2 (diff) | |
download | linux-stable-e3827b9bc3ba2bcfe5eef2fa2d440d7e1734f362.tar.gz linux-stable-e3827b9bc3ba2bcfe5eef2fa2d440d7e1734f362.tar.bz2 linux-stable-e3827b9bc3ba2bcfe5eef2fa2d440d7e1734f362.zip |
net/ipv6: Remove extra call to ip6_convert_metrics for multipath case
[ Upstream commit 36f19d5b4f99fa9fa8263877e5f8e669d7fddc14 ]
The change to move metrics from the dst to rt6_info moved the call
to ip6_convert_metrics from ip6_route_add to ip6_route_info_create. In
doing so it makes the call in ip6_route_info_append redundant and
actually leaks the metrics installed as part of the ip6_route_info_create.
Remove the now unnecessary call.
Fixes: d4ead6b34b67f ("net/ipv6: move metrics from dst to rt6_info")
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet')
0 files changed, 0 insertions, 0 deletions