[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f62026bf-825b-4e19-a2a1-2ad403d11fae@kernel.org>
Date: Tue, 10 Dec 2024 20:54:40 -0700
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>
Cc: netdev@...r.kernel.org, Simon Horman <horms@...nel.org>,
eric.dumazet@...il.com
Subject: Re: [PATCH net-next 2/3] ipv6: mcast: annotate data-races around
mc->mca_sfcount[MCAST_EXCLUDE]
On 12/10/24 11:33 AM, Eric Dumazet wrote:
> mc->mca_sfcount[MCAST_EXCLUDE] is read locklessly from
> ipv6_chk_mcast_addr().
>
> Add READ_ONCE() and WRITE_ONCE() annotations accordingly.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> ---
> net/ipv6/mcast.c | 13 ++++++++-----
> 1 file changed, 8 insertions(+), 5 deletions(-)
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists