mbox series

[net-next,0/8] rtnetlink: more rcu conversions for rtnl_fill_ifinfo()

Message ID 20240503192059.3884225-1-edumazet@google.com (mailing list archive)
Headers show
Series rtnetlink: more rcu conversions for rtnl_fill_ifinfo() | expand

Message

Eric Dumazet May 3, 2024, 7:20 p.m. UTC
We want to no longer rely on RTNL for "ip link show" command.

This is a long road, this series takes care of some parts.

Eric Dumazet (8):
  rtnetlink: do not depend on RTNL for IFLA_QDISC output
  rtnetlink: do not depend on RTNL for IFLA_IFNAME output
  rtnetlink: do not depend on RTNL for IFLA_TXQLEN output
  net: write once on dev->allmulti and dev->promiscuity
  rtnetlink: do not depend on RTNL for many attributes
  rtnetlink: do not depend on RTNL in rtnl_fill_proto_down()
  rtnetlink: do not depend on RTNL in rtnl_xdp_prog_skb()
  rtnetlink: allow rtnl_fill_link_netnsid() to run under RCU protection

 drivers/net/ppp/ppp_generic.c  |  2 +-
 drivers/net/vxlan/vxlan_core.c |  2 +-
 net/core/dev.c                 | 51 ++++++++++---------
 net/core/rtnetlink.c           | 90 ++++++++++++++++++++--------------
 net/ipv4/ip_tunnel.c           |  2 +-
 net/ipv6/ip6_tunnel.c          |  2 +-
 net/sched/sch_api.c            |  2 +-
 net/sched/sch_teql.c           |  2 +-
 net/xfrm/xfrm_interface_core.c |  2 +-
 9 files changed, 89 insertions(+), 66 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org May 7, 2024, 9:40 a.m. UTC | #1
Hello:

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

On Fri,  3 May 2024 19:20:51 +0000 you wrote:
> We want to no longer rely on RTNL for "ip link show" command.
> 
> This is a long road, this series takes care of some parts.
> 
> Eric Dumazet (8):
>   rtnetlink: do not depend on RTNL for IFLA_QDISC output
>   rtnetlink: do not depend on RTNL for IFLA_IFNAME output
>   rtnetlink: do not depend on RTNL for IFLA_TXQLEN output
>   net: write once on dev->allmulti and dev->promiscuity
>   rtnetlink: do not depend on RTNL for many attributes
>   rtnetlink: do not depend on RTNL in rtnl_fill_proto_down()
>   rtnetlink: do not depend on RTNL in rtnl_xdp_prog_skb()
>   rtnetlink: allow rtnl_fill_link_netnsid() to run under RCU protection
> 
> [...]

Here is the summary with links:
  - [net-next,1/8] rtnetlink: do not depend on RTNL for IFLA_QDISC output
    https://git.kernel.org/netdev/net-next/c/698419ffb6fc
  - [net-next,2/8] rtnetlink: do not depend on RTNL for IFLA_IFNAME output
    https://git.kernel.org/netdev/net-next/c/8a5826813362
  - [net-next,3/8] rtnetlink: do not depend on RTNL for IFLA_TXQLEN output
    https://git.kernel.org/netdev/net-next/c/ad13b5b0d1f9
  - [net-next,4/8] net: write once on dev->allmulti and dev->promiscuity
    https://git.kernel.org/netdev/net-next/c/55a2c86c8db3
  - [net-next,5/8] rtnetlink: do not depend on RTNL for many attributes
    https://git.kernel.org/netdev/net-next/c/6747a5d4990b
  - [net-next,6/8] rtnetlink: do not depend on RTNL in rtnl_fill_proto_down()
    https://git.kernel.org/netdev/net-next/c/6890ab31d1a3
  - [net-next,7/8] rtnetlink: do not depend on RTNL in rtnl_xdp_prog_skb()
    https://git.kernel.org/netdev/net-next/c/979aad40da92
  - [net-next,8/8] rtnetlink: allow rtnl_fill_link_netnsid() to run under RCU protection
    https://git.kernel.org/netdev/net-next/c/9cf621bd5fcb

You are awesome, thank you!