Re: [PATCH] net: pxa168_eth: Fix a potential data race in pxa168_eth_remove

2021-03-10 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Wed, 10 Mar 2021 11:10:46 +0300 you wrote: > pxa168_eth_remove() firstly calls unregister_netdev(), > then cancels a timeout work. unregister_netdev() shuts down a device > interface and removes it from the kernel tables. If

[PATCH] net: pxa168_eth: Fix a potential data race in pxa168_eth_remove

2021-03-10 Thread Pavel Andrianov
pxa168_eth_remove() firstly calls unregister_netdev(), then cancels a timeout work. unregister_netdev() shuts down a device interface and removes it from the kernel tables. If the timeout occurs in parallel, the timeout work (pxa168_eth_tx_timeout_task) performs stop and open of the device. It may