[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241014201828.91221-1-kuniyu@amazon.com>
Date: Mon, 14 Oct 2024 13:18:17 -0700
From: Kuniyuki Iwashima <kuniyu@...zon.com>
To: "David S. Miller" <davem@...emloft.net>, Eric Dumazet
<edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni
<pabeni@...hat.com>
CC: Kuniyuki Iwashima <kuniyu@...zon.com>, Kuniyuki Iwashima
<kuni1840@...il.com>, <netdev@...r.kernel.org>
Subject: [PATCH v2 net-next 00/11] rtnetlink: Use rtnl_register_many().
This series converts all rtnl_register() and rtnl_register_module()
to rtnl_register_many() and finally removes them.
Once this series is applied, I'll start converting doit() to per-netns
RTNL.
Changes:
v2:
* Add __initconst and __initconst_module
* Use C99 initialisation
v1: https://lore.kernel.org/netdev/20241011220550.46040-1-kuniyu@amazon.com/
Kuniyuki Iwashima (11):
rtnetlink: Panic when __rtnl_register_many() fails for builtin
callers.
rtnetlink: Use rtnl_register_many().
neighbour: Use rtnl_register_many().
net: sched: Use rtnl_register_many().
net: Use rtnl_register_many().
ipv4: Use rtnl_register_many().
ipv6: Use rtnl_register_many().
ipmr: Use rtnl_register_many().
dcb: Use rtnl_register_many().
can: gw: Use rtnl_register_many().
rtnetlink: Remove rtnl_register() and rtnl_register_module().
include/net/rtnetlink.h | 15 +++--
net/can/gw.c | 29 ++++----
net/core/fib_rules.c | 17 +++--
net/core/neighbour.c | 19 +++---
net/core/net_namespace.c | 14 ++--
net/core/rtnetlink.c | 141 ++++++++++++++++-----------------------
net/dcb/dcbnl.c | 8 ++-
net/ipv4/devinet.c | 18 +++--
net/ipv4/fib_frontend.c | 14 ++--
net/ipv4/ipmr.c | 22 +++---
net/ipv4/nexthop.c | 31 +++++----
net/ipv4/route.c | 8 ++-
net/ipv6/addrconf.c | 57 +++++++---------
net/ipv6/addrlabel.c | 28 +++-----
net/ipv6/ip6_fib.c | 10 ++-
net/ipv6/ip6mr.c | 13 ++--
net/ipv6/route.c | 23 +++----
net/sched/act_api.c | 13 ++--
net/sched/cls_api.c | 25 ++++---
net/sched/sch_api.c | 20 +++---
20 files changed, 267 insertions(+), 258 deletions(-)
--
2.39.5 (Apple Git-154)
Powered by blists - more mailing lists