[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ea8cce79-5ad5-42d2-9857-2f969f36b504@kernel.org>
Date: Thu, 28 Aug 2025 15:53:48 -0600
From: David Ahern <dsahern@...nel.org>
To: Eric Dumazet <edumazet@...gle.com>, "David S . Miller"
<davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Neal Cardwell <ncardwell@...gle.com>
Cc: Simon Horman <horms@...nel.org>, Kuniyuki Iwashima <kuniyu@...gle.com>,
netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH net-next 1/8] net: dst: introduce dst->dev_rcu
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@...gle.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@...nel.org>
Powered by blists - more mailing lists