[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z6SkUCO1oFzoExkz@shredder>
Date: Thu, 6 Feb 2025 14:00:16 +0200
From: Ido Schimmel <idosch@...sch.org>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
netdev@...r.kernel.org, David Ahern <dsahern@...nel.org>,
Simon Horman <horms@...nel.org>, eric.dumazet@...il.com
Subject: Re: [PATCH net] net: fib_rules: annotate data-races around
rule->[io]ifindex
On Thu, Feb 06, 2025 at 08:30:51AM +0000, Eric Dumazet wrote:
> rule->iifindex and rule->oifindex can be read without holding RTNL.
>
> Add READ_ONCE()/WRITE_ONCE() annotations where needed.
>
> Fixes: 32affa5578f0 ("fib: rules: no longer hold RTNL in fib_nl_dumprule()")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Reviewed-by: Ido Schimmel <idosch@...dia.com>
Powered by blists - more mailing lists