Thread (9 messages) flat view 9 messages, 3 authors, 2021-01-29

Re: [Patch net] net: fix dev_ifsioc_locked() race condition

From: Cong Wang <hidden>
Date: 2021-01-28 01:44:39

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help