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 16F31C43334 for ; Thu, 16 Jun 2022 07:08:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229462AbiFPHIN (ORCPT ); Thu, 16 Jun 2022 03:08:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229714AbiFPHIK (ORCPT ); Thu, 16 Jun 2022 03:08:10 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4655B19002 for ; Thu, 16 Jun 2022 00:08:10 -0700 (PDT) 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 ams.source.kernel.org (Postfix) with ESMTPS id 8AD5FB8216D for ; Thu, 16 Jun 2022 07:08:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9F3EC34114; Thu, 16 Jun 2022 07:08:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655363287; bh=ZccexE78LG+M6b/8Pi4xdgMTTzv31B8v3rU22TzTpAA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MuBW48zH2JvvT4eCO59s5D3WZFN/w3iLXVZL+atUqmrUj4T5PfhDp6O/kvUZQwoLy GPfAmDLL62vsVSqE6unJUEMqd1OJ0TkWbahOCRCpvM6HRiWlpbiGqkp2+FT/S1s2OK AUTi6389e8rAMhaYOU4Z37EcuvIT2SKjX6DkGkDd9LQ3u2AOeHSZFXiVDZGaXv/qyQ yTt7qldSMw2F68BrkBaQ6VPfDDj/5g+bkI5mh7Z96JOSGWuiZ8fFvPQP+5V8QxwteQ wLr0qlpNOiX6UEbO87Q+pEkBSuinlOQcrrC1lfqYmuAiFoDL44HzqXe9Ffyh5z1eu0 EGLwvZaGfQN3A== Date: Thu, 16 Jun 2022 10:08:02 +0300 From: Leon Romanovsky To: Gerd Rausch Cc: Jason Gunthorpe , linux-rdma@vger.kernel.org Subject: Re: [PATCH 1/1] RDMA/addr: Refresh neighbour entries upon "rdma_resolve_addr" Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org On Mon, Jun 06, 2022 at 12:38:36PM -0700, Gerd Rausch wrote: > Unlike with IPv[46], where "ip_finish_output2" triggers > a refresh of STALE neighbour entries via "neigh_output", > "rdma_resolve_addr" never triggers an update. > > If a wrong STALE entry ever enters the cache, it'll remain > wrong forever (unless refreshed via TCP/IP, or otherwise). > > Let the cache inconsistency resolve itself by triggering > an update from "rdma_resolve_addr". > > Signed-off-by: Gerd Rausch > --- > drivers/infiniband/core/addr.c | 40 ++++++++++++++++++++++++++++++++++ > 1 file changed, 40 insertions(+) Gerd, Do you plan to resubmit the patch? There is a complain from kbuild robot. Thanks