From: David Ahern <dsahern@kernel.org>
To: Eric Dumazet <edumazet@google.com>,
"David S . Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Neal Cardwell <ncardwell@google.com>
Cc: Simon Horman <horms@kernel.org>,
Kuniyuki Iwashima <kuniyu@google.com>,
netdev@vger.kernel.org, eric.dumazet@gmail.com
Subject: Re: [PATCH net-next 1/8] net: dst: introduce dst->dev_rcu
Date: Thu, 28 Aug 2025 15:53:48 -0600 [thread overview]
Message-ID: <ea8cce79-5ad5-42d2-9857-2f969f36b504@kernel.org> (raw)
In-Reply-To: <20250828195823.3958522-2-edumazet@google.com>
On 8/28/25 1:58 PM, Eric Dumazet wrote:
> Followup of commit 88fe14253e18 ("net: dst: add four helpers
> to annotate data-races around dst->dev").
>
> We want to gradually add explicit RCU protection to dst->dev,
> including lockdep support.
>
> Add an union to alias dst->dev_rcu and dst->dev.
>
> Add dst_dev_net_rcu() helper.
>
> Fixes: 4a6ce2b6f2ec ("net: introduce a new function dst_dev_put()")
> Signed-off-by: Eric Dumazet <edumazet@google.com>
> ---
> include/net/dst.h | 16 +++++++++++-----
> net/core/dst.c | 2 +-
> net/ipv4/route.c | 4 ++--
> 3 files changed, 14 insertions(+), 8 deletions(-)
>
Reviewed-by: David Ahern <dsahern@kernel.org>
next prev parent reply other threads:[~2025-08-28 21:53 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
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=ea8cce79-5ad5-42d2-9857-2f969f36b504@kernel.org \
--to=dsahern@kernel.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=eric.dumazet@gmail.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=kuniyu@google.com \
--cc=ncardwell@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).