mbox series

[net-next,0/6] inet: no longer use RTNL to protect inet_dump_ifaddr()

Message ID 20240229114016.2995906-1-edumazet@google.com (mailing list archive)
Headers show
Series inet: no longer use RTNL to protect inet_dump_ifaddr() | expand

Message

Eric Dumazet Feb. 29, 2024, 11:40 a.m. UTC
This series convert inet so that a dump of addresses (ip -4 addr)
no longer requires RTNL.

Eric Dumazet (6):
  inet: annotate data-races around ifa->ifa_tstamp and ifa->ifa_cstamp
  inet: annotate data-races around ifa->ifa_valid_lft
  inet: annotate data-races around ifa->ifa_preferred_lft
  inet: annotate data-races around ifa->ifa_flags
  inet: prepare inet_base_seq() to run without RTNL
  inet: use xa_array iterator to implement inet_dump_ifaddr()

 net/core/dev.c     |   5 +-
 net/ipv4/devinet.c | 166 +++++++++++++++++++++------------------------
 2 files changed, 79 insertions(+), 92 deletions(-)

Comments

Jiri Pirko Feb. 29, 2024, 2:18 p.m. UTC | #1
Thu, Feb 29, 2024 at 12:40:10PM CET, edumazet@google.com wrote:
>This series convert inet so that a dump of addresses (ip -4 addr)
>no longer requires RTNL.
>
>Eric Dumazet (6):
>  inet: annotate data-races around ifa->ifa_tstamp and ifa->ifa_cstamp
>  inet: annotate data-races around ifa->ifa_valid_lft
>  inet: annotate data-races around ifa->ifa_preferred_lft
>  inet: annotate data-races around ifa->ifa_flags
>  inet: prepare inet_base_seq() to run without RTNL
>  inet: use xa_array iterator to implement inet_dump_ifaddr()
>
> net/core/dev.c     |   5 +-
> net/ipv4/devinet.c | 166 +++++++++++++++++++++------------------------
> 2 files changed, 79 insertions(+), 92 deletions(-)

Looks fine to me.

set-
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
patchwork-bot+netdevbpf@kernel.org March 1, 2024, 11:20 a.m. UTC | #2
Hello:

This series was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Thu, 29 Feb 2024 11:40:10 +0000 you wrote:
> This series convert inet so that a dump of addresses (ip -4 addr)
> no longer requires RTNL.
> 
> Eric Dumazet (6):
>   inet: annotate data-races around ifa->ifa_tstamp and ifa->ifa_cstamp
>   inet: annotate data-races around ifa->ifa_valid_lft
>   inet: annotate data-races around ifa->ifa_preferred_lft
>   inet: annotate data-races around ifa->ifa_flags
>   inet: prepare inet_base_seq() to run without RTNL
>   inet: use xa_array iterator to implement inet_dump_ifaddr()
> 
> [...]

Here is the summary with links:
  - [net-next,1/6] inet: annotate data-races around ifa->ifa_tstamp and ifa->ifa_cstamp
    https://git.kernel.org/netdev/net-next/c/3cd3e72ccb3a
  - [net-next,2/6] inet: annotate data-races around ifa->ifa_valid_lft
    https://git.kernel.org/netdev/net-next/c/a5fcf74d80be
  - [net-next,3/6] inet: annotate data-races around ifa->ifa_preferred_lft
    https://git.kernel.org/netdev/net-next/c/9f6fa3c4e722
  - [net-next,4/6] inet: annotate data-races around ifa->ifa_flags
    https://git.kernel.org/netdev/net-next/c/3ddc2231c810
  - [net-next,5/6] inet: prepare inet_base_seq() to run without RTNL
    https://git.kernel.org/netdev/net-next/c/590e92cdc835
  - [net-next,6/6] inet: use xa_array iterator to implement inet_dump_ifaddr()
    https://git.kernel.org/netdev/net-next/c/cdb2f80f1c10

You are awesome, thank you!