[PATCH net 0/8] net: second round to use dev_net_rcu()

From
Eric Dumazet <hidden>
Date
2025-02-07 13:58:43
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(-)

-- 
2.48.1.502.g6dc24dfdaf-goog
Thread (25 messages) 25 messages, 4 authors, last reply 2025-02-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help