Skip to content

inet: no longer use RTNL to protect inet_dump_ifaddr()

Eric Dumazet netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 6 repliesApplied 6/6

Patches in v1 All 6 applied

#Subject and filesSizeRepliesApplied
1/6inet: annotate data-races around ifa->ifa_tstamp and ifa->ifa_cstampnet/ipv4/devinet.c+13 -100 repliesApplied
2/6inet: annotate data-races around ifa->ifa_valid_lftnet/ipv4/devinet.c+8 -80 repliesApplied
3/6inet: annotate data-races around ifa->ifa_preferred_lftnet/ipv4/devinet.c+8 -80 repliesApplied
4/6inet: annotate data-races around ifa->ifa_flagsnet/ipv4/devinet.c+13 -90 repliesApplied
5/6inet: prepare inet_base_seq() to run without RTNLnet/core/dev.c net/ipv4/devinet.c+4 -30 repliesApplied
6/6inet: use xa_array iterator to implement inet_dump_ifaddr()net/ipv4/devinet.c+37 -585 repliesApplied

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJiri Pirko
SeriesR-b
1/6
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.44.0.278.ge034bb2e1d-goog