[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250207135841.1948589-1-edumazet@google.com>
Date: Fri, 7 Feb 2025 13:58:32 +0000
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: netdev@...r.kernel.org, David Ahern <dsahern@...nel.org>,
Kuniyuki Iwashima <kuniyu@...zon.com>, Simon Horman <horms@...nel.org>, eric.dumazet@...il.com,
Eric Dumazet <edumazet@...gle.com>
Subject: [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(-)
--
2.48.1.502.g6dc24dfdaf-goog
Powered by blists - more mailing lists