From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: [PATCH net-next 09/18] ipv6: Ignore dead routes during lookup Date: Sun, 7 Jan 2018 10:02:34 -0700 Message-ID: References: <20180107104518.31693-1-idosch@mellanox.com> <20180107104518.31693-10-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-f44.google.com ([209.85.160.44]:41007 "EHLO mail-pl0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754234AbeAGRCh (ORCPT ); Sun, 7 Jan 2018 12:02:37 -0500 Received: by mail-pl0-f44.google.com with SMTP id q3so912571plr.8 for ; Sun, 07 Jan 2018 09:02:37 -0800 (PST) In-Reply-To: <20180107104518.31693-10-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: > Currently, dead routes are only present in the routing tables in case > the 'ignore_routes_with_linkdown' sysctl is set. Otherwise, they are > flushed. > > Subsequent patches are going to remove the reliance on this sysctl and > make IPv6 more consistent with IPv4. > > Before this is done, we need to make sure dead routes are skipped during > route lookup, so as to not cause packet loss. > > Signed-off-by: Ido Schimmel > --- > net/ipv6/route.c | 18 ++++++++++++++---- > 1 file changed, 14 insertions(+), 4 deletions(-) Acked-by: David Ahern