netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/8] net: add rcu safety to dst->dev
@ 2025-08-28 19:58 Eric Dumazet
  2025-08-28 19:58 ` [PATCH net-next 1/8] net: dst: introduce dst->dev_rcu Eric Dumazet
                   ` (8 more replies)
  0 siblings, 9 replies; 18+ messages in thread
From: Eric Dumazet @ 2025-08-28 19:58 UTC (permalink / raw)
  To: David S . Miller, Jakub Kicinski, Paolo Abeni, Neal Cardwell
  Cc: Simon Horman, Kuniyuki Iwashima, David Ahern, netdev,
	eric.dumazet, Eric Dumazet

Followup of commit 88fe14253e18 ("net: dst: add four helpers
to annotate data-races around dst->dev").

Use lockdep enabled helpers to convert our unsafe dst->dev
uses one at a time.

More to come...

Eric Dumazet (8):
  net: dst: introduce dst->dev_rcu
  ipv6: start using dst_dev_rcu()
  ipv6: use RCU in ip6_xmit()
  ipv6: use RCU in ip6_output()
  net: use dst_dev_rcu() in sk_setup_caps()
  tcp_metrics: use dst_dev_net_rcu()
  tcp: use dst_dev_rcu() in tcp_fastopen_active_disable_ofo_check()
  ipv4: start using dst_dev_rcu()

 include/net/dst.h       | 16 +++++++----
 include/net/ip.h        |  6 ++--
 include/net/ip6_route.h |  2 +-
 include/net/route.h     |  2 +-
 net/core/dst.c          |  2 +-
 net/core/sock.c         | 16 +++++++----
 net/ipv4/icmp.c         |  6 ++--
 net/ipv4/ip_fragment.c  |  6 ++--
 net/ipv4/ipmr.c         |  6 ++--
 net/ipv4/route.c        |  8 +++---
 net/ipv4/tcp_fastopen.c |  7 +++--
 net/ipv4/tcp_metrics.c  |  6 ++--
 net/ipv6/anycast.c      |  2 +-
 net/ipv6/icmp.c         |  6 ++--
 net/ipv6/ip6_output.c   | 64 +++++++++++++++++++++++------------------
 net/ipv6/mcast.c        |  2 +-
 net/ipv6/ndisc.c        |  2 +-
 net/ipv6/output_core.c  |  8 ++++--
 net/ipv6/route.c        |  7 ++---
 19 files changed, 99 insertions(+), 75 deletions(-)

-- 
2.51.0.318.gd7df087d1a-goog


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2025-08-30  2:50 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-28 19:58 [PATCH net-next 0/8] net: add rcu safety to dst->dev Eric Dumazet
2025-08-28 19:58 ` [PATCH net-next 1/8] net: dst: introduce dst->dev_rcu Eric Dumazet
2025-08-28 21:53   ` David Ahern
2025-08-28 19:58 ` [PATCH net-next 2/8] ipv6: start using dst_dev_rcu() Eric Dumazet
2025-08-28 21:46   ` David Ahern
2025-08-28 19:58 ` [PATCH net-next 3/8] ipv6: use RCU in ip6_xmit() Eric Dumazet
2025-08-28 21:53   ` David Ahern
2025-08-28 19:58 ` [PATCH net-next 4/8] ipv6: use RCU in ip6_output() Eric Dumazet
2025-08-28 22:01   ` David Ahern
2025-08-28 19:58 ` [PATCH net-next 5/8] net: use dst_dev_rcu() in sk_setup_caps() Eric Dumazet
2025-08-28 22:12   ` David Ahern
2025-08-28 19:58 ` [PATCH net-next 6/8] tcp_metrics: use dst_dev_net_rcu() Eric Dumazet
2025-08-28 22:14   ` David Ahern
2025-08-28 19:58 ` [PATCH net-next 7/8] tcp: use dst_dev_rcu() in tcp_fastopen_active_disable_ofo_check() Eric Dumazet
2025-08-28 22:16   ` David Ahern
2025-08-28 19:58 ` [PATCH net-next 8/8] ipv4: start using dst_dev_rcu() Eric Dumazet
2025-08-28 22:17   ` David Ahern
2025-08-30  2:50 ` [PATCH net-next 0/8] net: add rcu safety to dst->dev patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).