From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCHv4 net] ipv6: no need to check rt->dst.error when get route info Date: Mon, 31 Jul 2017 16:39:14 -0700 (PDT) Message-ID: <20170731.163914.1369233353113528757.davem@davemloft.net> References: <1501172736-13685-1-git-send-email-liuhangbin@gmail.com> <20170731.162237.142502126102802813.davem@davemloft.net> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: liuhangbin@gmail.com, netdev@vger.kernel.org, xiyou.wangcong@gmail.com, roopa@cumulusnetworks.com To: dsahern@gmail.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:47614 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751537AbdGaXjP (ORCPT ); Mon, 31 Jul 2017 19:39:15 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: From: David Ahern Date: Mon, 31 Jul 2017 17:34:09 -0600 > On 7/31/17 5:22 PM, David Miller wrote: >> From: Hangbin Liu >> Date: Fri, 28 Jul 2017 00:25:36 +0800 >> >>> After commit 18c3a61c4264 ("net: ipv6: RTM_GETROUTE: return matched fib >>> result when requested"). When we get a prohibit ertry, we will return >>> -EACCES directly instead of dump route info. >>> >>> Fix it by remove the rt->dst.error check. >> ... >>> Fixes: 18c3a61c4264 ("net: ipv6: RTM_GETROUTE: return matched fib...") >>> Signed-off-by: Hangbin Liu >> >> David A., where are we on this? >> > > Dizzy from running in circles. :-) > Question I posed to you Saturday morning, 8:41 MDT [1]: > > "... Roopa's fibmatch patches caused a change in user behavior in IPv6 > getroute for prohibit, blackhole and unreachable route entries. Opinions > on whether we should limit that new behavior to just the fibmatch lookup > in which case a patch is needed or take the new behavior and consistency > in which case nothing is needed?" > > Personally, after all the discussion I think the behavior as it is right > now is best. > > [1] https://www.spinics.net/lists/netdev/msg446571.html I agree with you that we should keep the behavior as is.