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 507A3C433FE for ; Wed, 6 Apr 2022 20:54:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235014AbiDFU4U (ORCPT ); Wed, 6 Apr 2022 16:56:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234833AbiDFU4K (ORCPT ); Wed, 6 Apr 2022 16:56:10 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2143C3375 for ; Wed, 6 Apr 2022 12:16:15 -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 695E1B82547 for ; Wed, 6 Apr 2022 19:16:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 45CE2C385A3; Wed, 6 Apr 2022 19:16:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649272573; bh=qXgCC/RuAQKmL5gKlzhzXO/Y6MhOjA0LtN0KMo1IQSk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=d7mIIuBoGl+8GoHI+sUDDdle0jex7dsxEqx9nsRP/sJM1wlqYQw8lLcFw8LrjFSp5 QDURL0OBrOD663Jsah7TPWQ5nEP/4ye3JzW5CmpFLsA/jZKYaJk8lMYjwf8JrcFYEP 502o/ZGMl4M0N4lMWY/oY+776xkNA8ViX2AXA3eVjqFlLVw56ChqkgSLOoYxLiAseQ liIAkATqYL31KryedcX8BDdsDCL8rwfv86I5/sTInNM5+BnP8e0/Vu7MN5RtJT6op2 lHfVXtTVdytSwMqZyyBVjalTUj7Wo2lazfafrCyhX0H/bmYOQ0llXQR/YyPFfDshXr lCPyLmHCfFbeQ== Date: Wed, 6 Apr 2022 12:16:11 -0700 From: Jakub Kicinski To: Luis Chamberlain Cc: xiangxia.m.yue@gmail.com, netdev@vger.kernel.org, Kees Cook , Iurii Zaikin , "David S. Miller" , Hideaki YOSHIFUJI , David Ahern , Simon Horman , Julian Anastasov , Pablo Neira Ayuso , Jozsef Kadlecsik , Florian Westphal , Dmitry Vyukov , Alexei Starovoitov , Eric Dumazet , Marc Kleine-Budde , Lorenz Bauer , Akhmat Karakotov Subject: Re: [net-next RESEND v2] net: core: use shared sysctl macro Message-ID: <20220406121611.1791499d@kernel.org> In-Reply-To: References: <20220406124208.3485-1-xiangxia.m.yue@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Wed, 6 Apr 2022 09:20:24 -0700 Luis Chamberlain wrote: > On Wed, Apr 06, 2022 at 08:42:08PM +0800, xiangxia.m.yue@gmail.com wrote: > > From: Tonghao Zhang > > > > This patch introdues the SYSCTL_THREE, and replace the > > two, three and long_one to SYSCTL_XXX accordingly. > > > > KUnit: > > [23:03:58] ================ sysctl_test (10 subtests) ================= > > [23:03:58] [PASSED] sysctl_test_api_dointvec_null_tbl_data > > [23:03:58] [PASSED] sysctl_test_api_dointvec_table_maxlen_unset > > [23:03:58] [PASSED] sysctl_test_api_dointvec_table_len_is_zero > > [23:03:58] [PASSED] sysctl_test_api_dointvec_table_read_but_position_set > > [23:03:58] [PASSED] sysctl_test_dointvec_read_happy_single_positive > > [23:03:58] [PASSED] sysctl_test_dointvec_read_happy_single_negative > > [23:03:58] [PASSED] sysctl_test_dointvec_write_happy_single_positive > > [23:03:58] [PASSED] sysctl_test_dointvec_write_happy_single_negative > > [23:03:58] [PASSED] sysctl_test_api_dointvec_write_single_less_int_min > > [23:03:58] [PASSED] sysctl_test_api_dointvec_write_single_greater_int_max > > [23:03:58] =================== [PASSED] sysctl_test =================== > > > > ./run_kselftest.sh -c sysctl > > ... > > # Running test: sysctl_test_0006 - run #49 > > # Checking bitmap handler... ok > > # Wed Mar 16 14:58:41 UTC 2022 > > # Running test: sysctl_test_0007 - run #0 > > # Boot param test only possible sysctl_test is built-in, not module: > > # CONFIG_TEST_SYSCTL=m > > ok 1 selftests: sysctl: sysctl.sh > > I can take this through sysctl-next [0] if folks are OK with that. There are > quite a bit of changes already queued there for sysctl. > > Jakub? > > [0] https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git/log/?h=sysctl-next sysctl-next makes a lot of sense, but I'm worried about conflicts. Would you be able to spin up a stable branch based on -rc1 so we can pull it into net-next as well? Let me take a look at the patch as well...