From: Eric Dumazet <edumazet@google.com>
To: "David S . Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>
Cc: Simon Horman <horms@kernel.org>,
Kuniyuki Iwashima <kuniyu@google.com>,
David Ahern <dsahern@kernel.org>,
netdev@vger.kernel.org, eric.dumazet@gmail.com,
Eric Dumazet <edumazet@google.com>
Subject: [PATCH net-next 00/10] net: add data-race annotations around dst fields
Date: Fri, 27 Jun 2025 11:25:16 +0000 [thread overview]
Message-ID: <20250627112526.3615031-1-edumazet@google.com> (raw)
Add annotations around various dst fields, which can change under us.
Add four helpers to prepare better dst->dev protection,
and start using them. More to come later.
Eric Dumazet (10):
net: dst: annotate data-races around dst->obsolete
net: dst: annotate data-races around dst->expires
net: dst: annotate data-races around dst->lastuse
net: dst: annotate data-races around dst->input
net: dst: annotate data-races around dst->output
net: dst: add four helpers to annotate data-races around dst->dev
ipv4: adopt dst_dev, skb_dst_dev and skb_dst_dev_net[_rcu]
ipv6: adopt dst_dev() helper
ipv6: adopt skb_dst_dev() and skb_dst_dev_net[_rcu]() helpers
ipv6: ip6_mc_input() and ip6_mr_input() cleanups
include/net/dst.h | 38 +++++++++++++++++-----
include/net/inet6_hashtables.h | 2 +-
include/net/inet_hashtables.h | 2 +-
include/net/ip.h | 13 ++++----
include/net/ip6_route.h | 4 +--
include/net/ip6_tunnel.h | 2 +-
include/net/lwtunnel.h | 8 ++---
include/net/route.h | 2 +-
net/core/dst.c | 10 +++---
net/core/dst_cache.c | 2 +-
net/core/neighbour.c | 3 +-
net/core/rtnetlink.c | 4 ++-
net/core/sock.c | 12 +++----
net/ipv4/datagram.c | 2 +-
net/ipv4/icmp.c | 24 +++++++-------
net/ipv4/igmp.c | 2 +-
net/ipv4/ip_fragment.c | 2 +-
net/ipv4/ip_output.c | 6 ++--
net/ipv4/ip_vti.c | 4 +--
net/ipv4/netfilter.c | 4 +--
net/ipv4/route.c | 34 ++++++++++----------
net/ipv4/tcp_fastopen.c | 4 ++-
net/ipv4/tcp_ipv4.c | 2 +-
net/ipv4/tcp_metrics.c | 8 ++---
net/ipv4/xfrm4_output.c | 2 +-
net/ipv6/datagram.c | 2 +-
net/ipv6/exthdrs.c | 10 +++---
net/ipv6/icmp.c | 4 ++-
net/ipv6/ila/ila_lwt.c | 2 +-
net/ipv6/ioam6.c | 17 +++++-----
net/ipv6/ioam6_iptunnel.c | 4 +--
net/ipv6/ip6_gre.c | 8 +++--
net/ipv6/ip6_input.c | 33 +++++++++----------
net/ipv6/ip6_output.c | 24 +++++++-------
net/ipv6/ip6_tunnel.c | 6 ++--
net/ipv6/ip6_udp_tunnel.c | 2 +-
net/ipv6/ip6_vti.c | 4 +--
net/ipv6/ip6mr.c | 9 +++---
net/ipv6/ndisc.c | 6 ++--
net/ipv6/netfilter.c | 4 +--
net/ipv6/netfilter/nf_dup_ipv6.c | 2 +-
net/ipv6/netfilter/nf_reject_ipv6.c | 2 +-
net/ipv6/output_core.c | 4 +--
net/ipv6/reassembly.c | 10 +++---
net/ipv6/route.c | 49 +++++++++++++++--------------
net/ipv6/rpl_iptunnel.c | 4 +--
net/ipv6/seg6_iptunnel.c | 26 ++++++++-------
net/ipv6/seg6_local.c | 2 +-
net/ipv6/tcp_ipv6.c | 4 +--
net/ipv6/xfrm6_output.c | 2 +-
net/netfilter/ipvs/ip_vs_xmit.c | 2 +-
net/sctp/transport.c | 2 +-
net/xfrm/xfrm_policy.c | 4 +--
53 files changed, 242 insertions(+), 202 deletions(-)
--
2.50.0.727.gbf7dc18ff4-goog
next reply other threads:[~2025-06-27 11:25 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-27 11:25 Eric Dumazet [this message]
2025-06-27 11:25 ` [PATCH net-next 01/10] net: dst: annotate data-races around dst->obsolete Eric Dumazet
2025-06-27 17:36 ` Kuniyuki Iwashima
2025-06-27 11:25 ` [PATCH net-next 02/10] net: dst: annotate data-races around dst->expires Eric Dumazet
2025-06-27 17:41 ` Kuniyuki Iwashima
2025-06-27 11:25 ` [PATCH net-next 03/10] net: dst: annotate data-races around dst->lastuse Eric Dumazet
2025-06-27 17:44 ` Kuniyuki Iwashima
2025-06-27 11:25 ` [PATCH net-next 04/10] net: dst: annotate data-races around dst->input Eric Dumazet
2025-06-27 17:51 ` Kuniyuki Iwashima
2025-06-27 11:25 ` [PATCH net-next 05/10] net: dst: annotate data-races around dst->output Eric Dumazet
2025-06-27 17:54 ` Kuniyuki Iwashima
2025-06-27 11:25 ` [PATCH net-next 06/10] net: dst: add four helpers to annotate data-races around dst->dev Eric Dumazet
2025-06-27 17:57 ` Kuniyuki Iwashima
2025-06-27 11:25 ` [PATCH net-next 07/10] ipv4: adopt dst_dev, skb_dst_dev and skb_dst_dev_net[_rcu] Eric Dumazet
2025-06-27 21:01 ` Kuniyuki Iwashima
2025-06-27 11:25 ` [PATCH net-next 08/10] ipv6: adopt dst_dev() helper Eric Dumazet
2025-06-27 21:04 ` Kuniyuki Iwashima
2025-06-27 11:25 ` [PATCH net-next 09/10] ipv6: adopt skb_dst_dev() and skb_dst_dev_net[_rcu]() helpers Eric Dumazet
2025-06-27 21:07 ` Kuniyuki Iwashima
2025-06-28 2:15 ` kernel test robot
2025-06-27 11:25 ` [PATCH net-next 10/10] ipv6: ip6_mc_input() and ip6_mr_input() cleanups Eric Dumazet
2025-06-27 21:09 ` Kuniyuki Iwashima
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250627112526.3615031-1-edumazet@google.com \
--to=edumazet@google.com \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=eric.dumazet@gmail.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=kuniyu@google.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).