diff options
| author | Oliver Neukum <[email protected]> | 2024-09-19 12:33:42 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2024-09-26 08:54:42 +0000 |
| commit | 04e906839a053f092ef53f4fb2d610983412b904 (patch) | |
| tree | bc2d0f895a7f8203432c61255e0bb8b148549c16 /drivers/net/netkit.c | |
| parent | net: stmmac: set PP_FLAG_DMA_SYNC_DEV only if XDP is enabled (diff) | |
| download | kernel-04e906839a053f092ef53f4fb2d610983412b904.tar.gz kernel-04e906839a053f092ef53f4fb2d610983412b904.zip | |
usbnet: fix cyclical race on disconnect with work queue
The work can submit URBs and the URBs can schedule the work.
This cycle needs to be broken, when a device is to be stopped.
Use a flag to do so.
This is a design issue as old as the driver.
Signed-off-by: Oliver Neukum <[email protected]>
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
CC: [email protected]
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/net/netkit.c')
0 files changed, 0 insertions, 0 deletions
