From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: [PATCH net-next 06/18] ipv6: Set nexthop flags during route creation Date: Sun, 7 Jan 2018 09:58:30 -0700 Message-ID: <4ce5039b-c161-8960-766f-e1b8cbe97df8@gmail.com> References: <20180107104518.31693-1-idosch@mellanox.com> <20180107104518.31693-7-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-pg0-f68.google.com ([74.125.83.68]:45142 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754121AbeAGQ6c (ORCPT ); Sun, 7 Jan 2018 11:58:32 -0500 Received: by mail-pg0-f68.google.com with SMTP id c194so2997657pga.12 for ; Sun, 07 Jan 2018 08:58:31 -0800 (PST) In-Reply-To: <20180107104518.31693-7-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: > It is valid to install routes with a nexthop device that does not have a > carrier, so we need to make sure they're marked accordingly. > > As explained in the previous patch, host and anycast routes are never > marked with the 'linkdown' flag. > > Note that reject routes are unaffected, as these use the loopback device > which always has a carrier. > > Signed-off-by: Ido Schimmel > --- > net/ipv6/route.c | 3 +++ > 1 file changed, 3 insertions(+) Acked-by: David Ahern