On Mon, Jan 25, 2021 at 11:43 AM Gong, Sishuai [off-list ref] wrote:
Hi,
We also found another pair of writer and reader that may suffer the same problem.
A data race may also happen on the variable netdev->dev_addr when functions e1000_set_mac() and packet_getname() run in parallel, eventually it could return a partially updated MAC address to the user, as shown below:
Yeah, this one requires a separate patch, because at least
it uses an index instead of a name to lookup the devices.
Thanks.