From patchwork Thu Jan 19 22:40:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Maxwell X-Patchwork-Id: 46048 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp586151wrn; Thu, 19 Jan 2023 15:00:33 -0800 (PST) X-Google-Smtp-Source: AMrXdXs3xaZIVlp4NiHSclb/g+M/hqe5bfK7lYgtopHxv7cMkOIOcjv4ME98I35EbbTAdYlA9WC4 X-Received: by 2002:a17:906:3fc3:b0:84d:4e9d:864a with SMTP id k3-20020a1709063fc300b0084d4e9d864amr12234349ejj.74.1674169232897; Thu, 19 Jan 2023 15:00:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674169232; cv=none; d=google.com; s=arc-20160816; b=HfwZg0YaisUOnGO7ZsuBZkHUMepBnHxrjGUBkAkh9b/a2pZejCc3sX9ccEr3R/XYRG gYAhUmoBykdQwVxJRCzRZFSxxVwGVHpfAH70zjenP9e07mBSomx3SsCZXbniQAfbO+d/ kMGPCbTGJ8A3HJLLu5Y7RNwG1yPO8dSw3R+23HhuNXBn0CcYSwOUXlk4GTsJN+c+d3hj 1f3Axi42PfL+wOetAC2TxAdEvg3iikpjjxv22Hqcsl5lk/XrCJ+bTKqSr2PCYAtAwvhF 4Fj9tAYVrB2nhNphhIKoa8453/w74wvbdjzm9MNb9+L9vZL0CaEcaoAiJmhhI36r/m9V shxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:ironport-hdrordr:ironport-data :ironport-phdr; bh=K3dRXxSYd0SxDWHvhH9ZkGuaYIPSH1h82BP4KK+CjJQ=; b=fikiffNMZocL0tK/zoanj3gZx0Jzi0PUgu15ya8d25eaeod97wwyd+QNAh/9gE6Aii hEd5WBSpUZCPnM6mhqkh9xDkac6Djv6kKb8cknFZ/1j8aANodB4nM2rkemWCQwu9cObO k8XYWJryQboVU0P+J9AEy81eug8nywqQzMXVhoe8GlddhWslK9K0LULvJYaDBtwO6wLU 4DkTy8MiZfznJ7sWPQJ/O7nZphBgmYajHbTdBJCyGx5EcWyPeFpWziNN4RXAzLpA1af9 inDhgxwfsESuhbAlchhGGV5b7GS/ey4zQ8VWOmr264n6v6ED47nltwGc/b0jGUrAXU6T tG5A== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hw19-20020a170907a0d300b0087787ae09f2si1175944ejc.816.2023.01.19.15.00.08; Thu, 19 Jan 2023 15:00:32 -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; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230061AbjASW6h (ORCPT + 99 others); Thu, 19 Jan 2023 17:58:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229713AbjASW5Z (ORCPT ); Thu, 19 Jan 2023 17:57:25 -0500 Received: from rpt-glb-asav5.external.tpg.com.au (rpt-glb-asav5.external.tpg.com.au [60.241.0.14]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 91C8A20079; Thu, 19 Jan 2023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2Ipt6eaIVqR7b6UoCm0ESsYN2kPYWkDVwRty9zqup0yiFTLR8tLE6OviNDxXzbqz Fiiri8zg50RisMP2aih+1nBjz+34J/TQWYd/gzKWmeu7St6aZSjaoju7kLUhd5NPY+dCFOAp ncJgeCR6ekPCdeGkynlaOMAAL2k+d6bPzDGx11iBZ8s83Kq4XHLVYRR5ixuYURkKMAJfRf3b 0LJ/wBc/pleOD2td6AfS4u3B94nxO7lHMXoTNjJaNtUZZ14LkmG4ElGZ0uZz3/glEx3zokwP J6adYCnCnNyNEh85GDuHaJEj+9unX17nz+KA4zjwBXh2r2bIneIIVsYDGazgikCxPvsiG3oH xx3Z5riJ8l3OAE1XsUbHUP/47zHwbjXyK0ac/BqS9M= IronPort-HdrOrdr: A9a23:2UPtOqOwauSfIMBcTtijsMiBIKoaSvp037Dk7S1MoHtuA6+lfq +V88jzuSWetN9zYhEdcK67VpVoKEm0naKdirN8AV7NZmPbUROTTb1f0Q== X-IronPort-Anti-Spam-Filtered: true X-IronPort-AV: E=Sophos;i="5.97,230,1669035600"; d="scan'208";a="153573558" Received: from 202-168-35-241.tpgi.com.au (HELO jmaxwell.com) ([202.168.35.241]) by rpt-glb-asav5.external.tpg.com.au with ESMTP; 20 Jan 2023 09:41:41 +1100 From: Jon Maxwell To: davem@davemloft.net Cc: edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, yoshfuji@linux-ipv6.org, dsahern@kernel.org, martin.lau@kernel.org, joel@joelfernandes.org, paulmck@kernel.org, eyal.birger@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, andrea.mayer@uniroma2.it, Jon Maxwell Subject: [net-next v3] ipv6: Document that max_size sysctl is depreciated Date: Fri, 20 Jan 2023 09:40:49 +1100 Message-Id: <20230119224049.1187142-1-jmaxwell37@gmail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED,SPF_HELO_NONE,SPF_SOFTFAIL,SPOOFED_FREEMAIL, SPOOF_GMAIL_MID autolearn=no 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755493677236444331?= X-GMAIL-MSGID: =?utf-8?q?1755493677236444331?= v3: Change kernel version from 6.2 to 6.3. Add "commit" in front of hash. Document that max_size is depreciated due to: commit af6d10345ca7 ("ipv6: remove max_size check inline with ipv4") Signed-off-by: Jon Maxwell --- Documentation/networking/ip-sysctl.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/networking/ip-sysctl.rst b/Documentation/networking/ip-sysctl.rst index 7fbd060d6047..4cc2fab58dea 100644 --- a/Documentation/networking/ip-sysctl.rst +++ b/Documentation/networking/ip-sysctl.rst @@ -156,6 +156,9 @@ route/max_size - INTEGER From linux kernel 3.6 onwards, this is deprecated for ipv4 as route cache is no longer used. + From linux kernel 6.3 onwards, this is deprecated for ipv6 + as garbage collection manages cached route entries. + neigh/default/gc_thresh1 - INTEGER Minimum number of entries to keep. Garbage collector will not purge entries if there are fewer than this number.