Re: [PATCH net] net: Fix data race around dev->flags in netif_is_bond_master

From: Jakub Kicinski
Date: Mon Jul 29 2024 - 10:41:44 EST


On Sun, 28 Jul 2024 19:54:29 +0900 Jeongjun Park wrote:
> According to KCSAN report, there is a read/write race between
> __dev_change_flags and netif_is_bond_master for dev->flags. Therefore,
> should change to use READ_ONCE() when reading dev->flags.

That will certainly silence the warning, but doesn't prove the change
is correct.
--
pw-bot: cr