From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 76869BE7A for ; Fri, 5 May 2023 15:22:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5CC3C433EF; Fri, 5 May 2023 15:22:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683300136; bh=PRjlYTE9vkTWmbfmsZZFn/vTUGFrafsbqg2Ejniz4rc=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=I4BqPWv2WW3BQbnzI+xJTZdMLCIHzyoqsyi4/3gT/tXMHVmvjWsPEUyZcsZx8UXoW hQ8Qm4YM/OFLbaRBrFZcs1ClHNaXpmmyklxKeWQaAvexVY/bWlEivy36fU8f8S0F0G uW/zHc13pnGVICSM7hnHEb3dh4i5hfMjo+7meeeIDuopfBqetRNvBwk9AQ0l7V8pmI cGidm3G62Tp9S7yjDYOZBFwByOtgOFr+D7vRoSJjFgTuRRNdDxyTXDHAGWZ756+t3b /QwmErH/iGQC0nceeQk18V0Ad2x0jCUmAWqrtMwos/P9y+1oYFYRgb2nXE6LuHEj+P sfIrbAi/mafaA== Message-ID: <58351b57-23a1-44ae-cb27-76eef35de419@kernel.org> Date: Fri, 5 May 2023 09:22:14 -0600 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [BUG] Dependence of routing cache entries on the ignore-df flag Content-Language: en-US To: Stephen Hemminger Cc: Aleksey Shumnik , netdev@vger.kernel.org, waltje@uwalt.nl.mugnet.org, Jakub Kicinski , gw4pts@gw4pts.ampr.org, kuznet@ms2.inr.ac.ru, "willemdebruijn.kernel@gmail.com" , gnault@redhat.com References: <20230503113528.315485f1@hermes.local> <20230505031043.GA4009@u2004-local> <20230505080014.67bdd6cb@hermes.local> From: David Ahern In-Reply-To: <20230505080014.67bdd6cb@hermes.local> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 5/5/23 9:00 AM, Stephen Hemminger wrote: > On Thu, 4 May 2023 21:10:43 -0600 > David Ahern wrote: > >> On Wed, May 03, 2023 at 11:35:28AM -0700, Stephen Hemminger wrote: >>> On Wed, 3 May 2023 18:01:03 +0300 >>> Aleksey Shumnik wrote: >>> >>>> Might you answer the questions: >>>> 1. How the ignore-df flag and adding entries to the routing cache is >>>> connected? In which kernel files may I look to find this connection? >>>> 2. Is this behavior wrong? >>>> 3. Is there any way to completely disable the use of the routing >>>> cache? (as far as I understand, it used to be possible to set the >>>> rhash_entries parameter to 0, but now there is no such parameter) >>>> 4. Why is an entry added to the routing cache if a suitable entry was >>>> eventually found in the arp table (it is added directly, without being >>>> temporarily added to the routing table)? >>> >>> What kernel version. The route cache has been completely removed from >>> the kernel for a long time. >> >> These are exceptions (fib_nh_exception), not the legacy routing cache. > > I tried to reproduce your example, and did not see anything. > Could it be the multicast routing daemon (pimd) is watching and adding > the entry? That looks like a pmtu based entry - added by the kernel processing an ICMP.