atm: firestream: Use del_timer_sync() in teardown path
authorThomas Gleixner <tglx@linutronix.de>
Sun, 23 Mar 2014 15:09:28 +0000 (15:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Mar 2014 01:06:02 +0000 (21:06 -0400)
commitaff12acccbb1d61c9a6cfeb5cdd3d083fb5e40ef
tree010f3f9ffe80a8da4d38dc4fcd2621de7ec113b5
parente471b40321a94f07d13b8a9e4b064885cf08835d
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: Thomas Gleixner <tglx@linutronix.de>
Cc: Chas Williams <chas@cmf.nrl.navy.mil>
Cc: atm <linux-atm-general@lists.sourceforge.net>
Cc: netdev <netdev@vger.kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/firestream.c