Skip to content

net: second round to use dev_net_rcu()

Eric Dumazet netdev 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 15 repliesApplied 8/8

Patches in v1 All 8 applied

#Subject and filesSizeRepliesApplied
1/8ndisc: ndisc_send_redirect() must use dev_get_by_index_rcu()net/ipv6/ndisc.c+1 -12 repliesApplied
2/8ndisc: use RCU protection in ndisc_alloc_skb()net/ipv6/ndisc.c+4 -62 repliesApplied
3/8neighbour: use RCU protection in __neigh_notify()net/core/neighbour.c+6 -22 repliesApplied
4/8arp: use RCU protection in arp_xmit()net/ipv4/arp.c+3 -12 repliesApplied
5/8openvswitch: use RCU protection in ovs_vport_cmd_fill_info()net/openvswitch/datapath.c+9 -31 replyApplied
6/8vrf: use RCU protection in l3mdev_l3_out()include/net/l3mdev.h+2 -02 repliesApplied
7/8ndisc: extend RCU protection in ndisc_send_skb()net/ipv6/ndisc.c+8 -42 repliesApplied
8/8ipv6: mcast: extend RCU protection in igmp6_send()net/ipv6/mcast.c+15 -162 repliesApplied

Reviews trailers per patch

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

PatchDavid AhernKuniyuki Iwashima
1/8R-b R-b
2/8R-b R-b
3/8R-b R-b
4/8R-b R-b
5/8R-b
6/8R-b R-b
7/8R-b R-b
8/8R-b R-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 0/8] net: second round to use dev_net_rcu()

dev_net(dev) should either be protected by RTNL or RCU.

There is no LOCKDEP support yet for this helper.

Adding it would trigger too many splats.

This second series fixes some of them.

Eric Dumazet (8):
ndisc: ndisc_send_redirect() must use dev_get_by_index_rcu()
ndisc: use RCU protection in ndisc_alloc_skb()
neighbour: use RCU protection in __neigh_notify()
arp: use RCU protection in arp_xmit()
openvswitch: use RCU protection in ovs_vport_cmd_fill_info()
vrf: use RCU protection in l3mdev_l3_out()
ndisc: extend RCU protection in ndisc_send_skb()
ipv6: mcast: extend RCU protection in igmp6_send()

 include/net/l3mdev.h       |  2 ++
 net/core/neighbour.c       |  8 ++++++--
 net/ipv4/arp.c             |  4 +++-
 net/ipv6/mcast.c           | 31 +++++++++++++++----------------
 net/ipv6/ndisc.c           | 24 +++++++++++++-----------
 net/openvswitch/datapath.c | 12 +++++++++---
 6 files changed, 48 insertions(+), 33 deletions(-)
Signature · 1 line
2.48.1.502.g6dc24dfdaf-goog