From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] net: Evict neighbor entries on carrier down Date: Fri, 12 Oct 2018 09:49:29 -0700 (PDT) Message-ID: <20181012.094929.855844907752350108.davem@davemloft.net> References: <20181012033349.5213-1-dsahern@kernel.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, roopa@cumulusnetworks.com, idosch@mellanox.com, dsahern@gmail.com To: dsahern@kernel.org Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:47274 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725902AbeJMAWw (ORCPT ); Fri, 12 Oct 2018 20:22:52 -0400 In-Reply-To: <20181012033349.5213-1-dsahern@kernel.org> Sender: netdev-owner@vger.kernel.org List-ID: From: David Ahern Date: Thu, 11 Oct 2018 20:33:49 -0700 > From: David Ahern > > When a link's carrier goes down it could be a sign of the port changing > networks. If the new network has overlapping addresses with the old one, > then the kernel will continue trying to use neighbor entries established > based on the old network until the entries finally age out - meaning a > potentially long delay with communications not working. > > This patch evicts neighbor entries on carrier down with the exception of > those marked permanent. Permanent entries are managed by userspace (either > an admin or a routing daemon such as FRR). > > Signed-off-by: David Ahern Applied.