From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: [PATCH net-next 08/18] ipv6: Check nexthop flags in route dump instead of carrier Date: Sun, 7 Jan 2018 10:01:52 -0700 Message-ID: <46fb4157-c5b3-36c3-e0d6-1b0350ebfb81@gmail.com> References: <20180107104518.31693-1-idosch@mellanox.com> <20180107104518.31693-9-idosch@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: davem@davemloft.net, roopa@cumulusnetworks.com, nicolas.dichtel@6wind.com, weiwan@google.com, kafai@fb.com, yoshfuji@linux-ipv6.org, mlxsw@mellanox.com To: Ido Schimmel , netdev@vger.kernel.org Return-path: Received: from mail-pl0-f47.google.com ([209.85.160.47]:40541 "EHLO mail-pl0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754057AbeAGRBy (ORCPT ); Sun, 7 Jan 2018 12:01:54 -0500 Received: by mail-pl0-f47.google.com with SMTP id 62so6257521pld.7 for ; Sun, 07 Jan 2018 09:01:54 -0800 (PST) In-Reply-To: <20180107104518.31693-9-idosch@mellanox.com> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 1/7/18 3:45 AM, Ido Schimmel wrote: > Similar to previous patch, there is no need to check for the carrier of > the nexthop device when dumping the route and we can instead check for > the presence of the RTNH_F_LINKDOWN flag. > > Signed-off-by: Ido Schimmel > --- > net/ipv6/route.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by: David Ahern