From: David Miller Subject: Re: [PATCH net] net/ipv6: Remove extra call to ip6_convert_metrics for multipath case Date: Wed, 26 Sep 2018 19:58:24 -0700 (PDT) Message-ID: <20180926.195824.1273994021755104792.davem@davemloft.net> References: <20180927003514.18435-1-dsahern@kernel.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, dsahern@gmail.com To: dsahern@kernel.org Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:37264 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727201AbeI0JO2 (ORCPT ); Thu, 27 Sep 2018 05:14:28 -0400 In-Reply-To: <20180927003514.18435-1-dsahern@kernel.org> Sender: netdev-owner@vger.kernel.org List-ID: From: dsahern@kernel.org Date: Wed, 26 Sep 2018 17:35:14 -0700 > From: David Ahern > > 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 Applied and queued up for -stable, thanks David.