mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
If a queue still has a NAPI instance added to the net device, freeing the queues early results in a use-after-free. The shouldn't ever happen because we disconnect and tear down all queues before freeing the net device, but doing this makes it obviously safe. Signed-off-by: David Vrabel <[email protected]> Signed-off-by: David S. Miller <[email protected]>