]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tlan: cancel work at remove path
authorDevendra Naga <devendra.aaru@gmail.com>
Tue, 16 Apr 2013 01:30:38 +0000 (01:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Apr 2013 20:43:34 +0000 (16:43 -0400)
commit1e0a8b13d35510e711fdf72e9a3e30bcb2bd49fa
treead726d12a8373be45e168bbccfb75c086b643d11
parentd5d427cdaeae33752fbd5c674cc52a8f8e65a550
tlan: cancel work at remove path

the work has been scheduled from interrupt, and not been
cancelled when the driver is unloaded, which doesn't remove
the work item from the global workqueue. call the
cancel_work_sync when the driver is removed (rmmod'ed).

Cc: Sriram <srk@ti.com>
Cc: Cyril Chemparathy <cyril@ti.com>
Cc: Vinay Hegde <vinay.hegde@ti.com>
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/tlan.c