[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240508195532.GI1736038@kernel.org>
Date: Wed, 8 May 2024 20:55:32 +0100
From: Simon Horman <horms@...nel.org>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Kuniyuki Iwashima <kuniyu@...zon.com>, netdev@...r.kernel.org,
eric.dumazet@...il.com
Subject: Re: [PATCH net-next] net: annotate data-races around dev->if_port
On Tue, May 07, 2024 at 06:41:44PM +0000, Eric Dumazet wrote:
> Various ndo_set_config() methods can change dev->if_port
>
> dev->if_port is going to be read locklessly from
> rtnl_fill_link_ifmap().
>
> Add corresponding WRITE_ONCE() on writer sides.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists