Skip to content

rtnetlink: more rcu conversions for rtnl_fill_ifinfo()

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 Latest8 patches 17 repliesApplied 8/8

Patches in v1 All 8 applied

#Subject and filesSizeRepliesApplied
1/8rtnetlink: do not depend on RTNL for IFLA_QDISC outputnet/core/rtnetlink.c+3 -31 replyApplied
2/8rtnetlink: do not depend on RTNL for IFLA_IFNAME outputnet/core/rtnetlink.c+6 -21 replyApplied
3/8rtnetlink: do not depend on RTNL for IFLA_TXQLEN outputnet/core/dev.c net/core/rtnetlink.c net/sched/sch_api.c +1 more+5 -54 repliesApplied
4/8net: write once on dev->allmulti and dev->promiscuitynet/core/dev.c+20 -161 replyApplied
5/8rtnetlink: do not depend on RTNL for many attributesnet/core/rtnetlink.c+31 -207 repliesApplied
6/8rtnetlink: do not depend on RTNL in rtnl_fill_proto_down()net/core/dev.c net/core/rtnetlink.c+11 -81 replyApplied
7/8rtnetlink: do not depend on RTNL in rtnl_xdp_prog_skb()net/core/rtnetlink.c+7 -51 replyApplied
8/8rtnetlink: allow rtnl_fill_link_netnsid() to run under RCU protectiondrivers/net/ppp/ppp_generic.c drivers/net/vxlan/vxlan_core.c net/core/rtnetlink.c +3 more+7 -81 replyApplied

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchSimon Horman
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

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/8] rtnetlink: more rcu conversions for rtnl_fill_ifinfo()

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(-)
Signature · 1 line
2.45.0.rc1.225.g2a3ae87e7f-goog