From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: [PATCH net-next 07/18] ipv6: Check nexthop flags during route lookup instead of carrier Date: Sun, 7 Jan 2018 09:59:45 -0700 Message-ID: <780e7dd5-bccd-b733-1711-a8360c536205@gmail.com> References: <20180107104518.31693-1-idosch@mellanox.com> <20180107104518.31693-8-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-f66.google.com ([209.85.160.66]:37149 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754116AbeAGQ7r (ORCPT ); Sun, 7 Jan 2018 11:59:47 -0500 Received: by mail-pl0-f66.google.com with SMTP id s3so6254222plp.4 for ; Sun, 07 Jan 2018 08:59:47 -0800 (PST) In-Reply-To: <20180107104518.31693-8-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: > Now that the RTNH_F_LINKDOWN flag is set in nexthops, we can avoid the > need to dereference the nexthop device and check its carrier and instead > check for the presence of the flag. > > Signed-off-by: Ido Schimmel > --- > net/ipv6/route.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) Acked-by: David Ahern