mbox series

[v5,0/3] use standard sysctl macro

Message ID 20220501035524.91205-1-xiangxia.m.yue@gmail.com (mailing list archive)
Headers show
Series use standard sysctl macro | expand

Message

Tonghao Zhang May 1, 2022, 3:55 a.m. UTC
From: Tonghao Zhang <xiangxia.m.yue@gmail.com>

This patchset introduce sysctl macro or replace var
with macro.

Tonghao Zhang (3):
  net: sysctl: use shared sysctl macro
  net: sysctl: introduce sysctl SYSCTL_THREE
  selftests/sysctl: add sysctl macro test

 fs/proc/proc_sysctl.c                    |  2 +-
 include/linux/sysctl.h                   |  9 ++++---
 lib/test_sysctl.c                        | 32 ++++++++++++++++++++++++
 net/core/sysctl_net_core.c               | 13 ++++------
 net/ipv4/sysctl_net_ipv4.c               | 16 +++++-------
 net/ipv6/sysctl_net_ipv6.c               |  6 ++---
 net/netfilter/ipvs/ip_vs_ctl.c           |  4 +--
 tools/testing/selftests/sysctl/sysctl.sh | 23 +++++++++++++++++
 8 files changed, 75 insertions(+), 30 deletions(-)

--
v5: refactor test codes. 
v4: add selftests/sysctl patch
v3: split patch to two.

Cc: Luis Chamberlain <mcgrof@kernel.org>
Cc: Kees Cook <keescook@chromium.org>
Cc: Iurii Zaikin <yzaikin@google.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Cc: David Ahern <dsahern@kernel.org>
Cc: Simon Horman <horms@verge.net.au>
Cc: Julian Anastasov <ja@ssi.bg>
Cc: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: Jozsef Kadlecsik <kadlec@netfilter.org>
Cc: Florian Westphal <fw@strlen.de>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Lorenz Bauer <lmb@cloudflare.com>
Cc: Akhmat Karakotov <hmukos@yandex-team.ru>
--
2.27.0

Comments

patchwork-bot+netdevbpf@kernel.org May 3, 2022, 8:40 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by Paolo Abeni <pabeni@redhat.com>:

On Sun,  1 May 2022 11:55:21 +0800 you wrote:
> From: Tonghao Zhang <xiangxia.m.yue@gmail.com>
> 
> This patchset introduce sysctl macro or replace var
> with macro.
> 
> Tonghao Zhang (3):
>   net: sysctl: use shared sysctl macro
>   net: sysctl: introduce sysctl SYSCTL_THREE
>   selftests/sysctl: add sysctl macro test
> 
> [...]

Here is the summary with links:
  - [v5,1/3] net: sysctl: use shared sysctl macro
    https://git.kernel.org/netdev/net-next/c/bd8a53675c0d
  - [v5,2/3] net: sysctl: introduce sysctl SYSCTL_THREE
    https://git.kernel.org/netdev/net-next/c/4c7f24f857c7
  - [v5,3/3] selftests/sysctl: add sysctl macro test
    https://git.kernel.org/netdev/net-next/c/57b19468b369

You are awesome, thank you!