Commit aff12acc authored by Thomas Gleixner's avatar Thomas Gleixner Committed by David S. Miller
Browse files

atm: firestream: Use del_timer_sync() in teardown path

The device is about to vanish. So we need to make sure that the timer
is completely stopped and the callback is not running on another CPU.

Signed-off-by: default avatarThomas Gleixner <>
Cc: Chas Williams <>
Cc: atm <>
Cc: netdev <>
Signed-off-by: default avatarDavid S. Miller <>
parent e471b403
......@@ -2000,7 +2000,7 @@ static void firestream_remove_one(struct pci_dev *pdev)
fs_dprintk (FS_DEBUG_CLEANUP, "Freeing irq%d.\n", dev->irq);
free_irq (dev->irq, dev);
del_timer (&dev->timer);
del_timer_sync (&dev->timer);
free_queue (dev, &dev->hp_txq);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment