Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp348292rwj; Thu, 22 Dec 2022 08:27:52 -0800 (PST) X-Google-Smtp-Source: AMrXdXuza6MyJ7kTqEJIKOUKu7jnXLX8X/mlrVMrmx9m1Jljw05oBCfp4HXFYC+l2Lj8Wkx4TIMD X-Received: by 2002:a17:907:7e84:b0:7a4:bbce:ddae with SMTP id qb4-20020a1709077e8400b007a4bbceddaemr6761467ejc.59.1671726471995; Thu, 22 Dec 2022 08:27:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671726471; cv=none; d=google.com; s=arc-20160816; b=u7T2W6NeLb87AoliLTX9wdVhFcmsRYh9YwMgED3A3n7rxdGSijh+LeabKI/Ui5Qvlv 2f1g9H5QmlEoHLMpgR3+3Nzj3hLejnXcA8xowPrWJUfF4Wts/4m3LMSwkpB0mT93csxW LU/xh1tzINhrtqCysoYdx48iyhHIiiT/uJd82eccN2zajZ0AknXCzOzMzRxqe15o5qAB LuIBdQNDeT+XMi2PNedE+lq0KTbZaG0AV/OkHvLU0LCalrZWz/I+R4fX56wMhuZxzadT AffS3UC8sfPURyGXTknoQzky8vKljCJ0KxK+E4JEM309Sgk/9UsQk8ynYXzq+rrWb4+r JMLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Dg4BfgoD9YyHNiJlbfaKe3wduOjMhakUuIqaDZWVMts=; b=B4uH0Legw7R3VHvMweaHIMopUJYxxicVe3QjhSaZS3PSqPNBL2nYz1z57UiFKoKnCf bd2kcgmClcN8HgvqU5+eHVYSdZLkcsxjpwfcwreY82EAcHq5oXBn4uZxpZpvxeRjvD1i 5DUaE20V1f8lKtZ5FTt+xzz60l03Jp328PE7n3mAdY+PW0wYW6uyBcZdYwi6aY6ABUe5 NjtRJO/gPpBtQFMOWjzCw1vo3XoDTLNqQ48h5IUJAWAJWXJ3fv/9kOPVAKn7l447mVWH yjy74Q9k8nIcKGd7vyqQ4K45NkVL3acMjkY4cyOCfUaBi25AvpGMf1u4lSn/hHBaBZ71 KWwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r6iKDDAJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z22-20020a05640240d600b0046f72e9db46si1150393edb.283.2022.12.22.08.27.36; Thu, 22 Dec 2022 08:27:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r6iKDDAJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231345AbiLVQRc (ORCPT + 67 others); Thu, 22 Dec 2022 11:17:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229764AbiLVQRa (ORCPT ); Thu, 22 Dec 2022 11:17:30 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AF10220C6; Thu, 22 Dec 2022 08:17:30 -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 ams.source.kernel.org (Postfix) with ESMTPS id C895AB803F2; Thu, 22 Dec 2022 16:17:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26B5BC433EF; Thu, 22 Dec 2022 16:17:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671725847; bh=Dg4BfgoD9YyHNiJlbfaKe3wduOjMhakUuIqaDZWVMts=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=r6iKDDAJAHG+tS7DCBhoWziRGZ0VtwQfnefbMTUuPF7/ibqRSOCtx1EF1UK+X+9U/ /k+smgNITqozFDcN3VQBWmPmYBbwMyYH2FR7yBWIIfgvsf9WTtMANljAh3mITMtsDM 9okAQrVDObXXuv3RnHWjt3W/sYMUVgSjdFaWO0qgLyP1DNDEMoQNA1HGGcNjfsNYjl HQz5bANbmLgCg4xofTFJyPCVh9x8DU0RHm3HV++HGeD99FPZDj9Nfjvg+B+4az3d4Z t12BI4bPjjXIlA3M0fgFWptMgDNXESRPYlizuE5HRA729tAv6TIj1fRfZMqKuKYj4g OLniTpyqA30wQ== Message-ID: <4f52f323-c8eb-bab0-ffa8-2c53c20d35ec@kernel.org> Date: Thu, 22 Dec 2022 09:17:26 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [net-next] ipv6: fix routing cache overflow for raw sockets To: Jonathan Maxwell Cc: Paolo Abeni , davem@davemloft.net, edumazet@google.com, kuba@kernel.org, yoshfuji@linux-ipv6.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221218234801.579114-1-jmaxwell37@gmail.com> <9f145202ca6a59b48d4430ed26a7ab0fe4c5dfaf.camel@redhat.com> Content-Language: en-US From: David Ahern In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/21/22 10:39 PM, Jonathan Maxwell wrote: > There are some mistakes in this prototype patch. Let me come up with a > better one. I'll submit a new patch in the new year for review. Thanks for > the suggestion DavidA. you are welcome. When you submit the next one, it would be helpful to show change in memory consumption and a comparison to IPv4 for a similar raw socket program.