From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD269C4332F for ; Thu, 15 Dec 2022 19:06:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230062AbiLOTGq (ORCPT ); Thu, 15 Dec 2022 14:06:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230420AbiLOTGD (ORCPT ); Thu, 15 Dec 2022 14:06:03 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D2D0FD1F; Thu, 15 Dec 2022 11:05:46 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6895361E19; Thu, 15 Dec 2022 19:05:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4DE27C433EF; Thu, 15 Dec 2022 19:05:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671131145; bh=TaHHwY1ARYaNL2Cdz/MrisJvKrtH05ORVveDZYFPvpw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=TKm/LI0/ks3ugJyN3sD8LLRskHUy3lCxhPppBOE0FNW8hg4oJEyJf5Xy86wAWjHz8 0cvDYvQ1Lf6oynyh5eKfr2PLd3pkVTbRcS6bucPJsN0jZTkZ0CkUKjix5ShRSR7sh1 stZfFui76enBZA8DVQLieLCN7tIfoefkxCqhrX0SleqCx/LiQPVwywEA3XLqp4IEXl 9f9RKmETQwkeTyj6BXtdWNXUYdb+VUfM+JppLXuhNsd37F9cn2Dedh/pANK9/yDr08 eP5tVGa0d4pk8tQWYKiixy+GvIyLFc4ig/WPjhW2PJoSHHn+5ExgZvkpEyuJEAMS9n m0UngUI9yCIwg== Date: Thu, 15 Dec 2022 11:05:44 -0800 From: Jakub Kicinski To: David Decotigny , David Ahern Cc: "Mahesh Bandewar (=?UTF-8?B?4KSu4KS54KWH4KS2IOCkrOCkguCkoeClh+CktQ==?= =?UTF-8?B?4KS+4KSw?=)" , David Decotigny , "David S. Miller" , Eric Dumazet , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Nikolay Aleksandrov , "Denis V. Lunev" , Daniel Borkmann , Chen Zhongjin , Yuwei Wang , Alexander Mikhalitsyn , Thomas Zeitlhofer Subject: Re: [PATCH v1 1/1] net: neigh: persist proxy config across link flaps Message-ID: <20221215110544.7e832e41@kernel.org> In-Reply-To: References: <20221213073801.361500-1-decot+git@google.com> <20221214204851.2102ba31@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 14 Dec 2022 22:18:04 -0800 David Decotigny wrote: > I don't think this patch is changing that part of the behavior: we still > flush the cached nd entries when the link flaps. What we don't remove are > the pneigh_entry-es (ip neigh add proxy ...) attached to the device where > the link flaps: those are configured once and this patch ensures that they > survive the link flaps as long as the netdev stays admin-up. When > the netdev is brought admin-down, we keep the behavior we had before the > patch. Makes sense. This is not urgent, tho, right? David A, do you agree and should we treat this as a fix with Fixes: 859bd2ef1fc1 ("net: Evict neighbor entries on carrier down") added? Reminder: please bottom post on the list