mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
NFC: Destroy LLCP timout workqueue when releasing the link
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
5e50ee3ae6
commit
07922bb1e0
@ -111,6 +111,7 @@ static void local_release(struct kref *ref)
|
||||
skb_queue_purge(&local->tx_queue);
|
||||
destroy_workqueue(local->tx_wq);
|
||||
destroy_workqueue(local->rx_wq);
|
||||
destroy_workqueue(local->timeout_wq);
|
||||
kfree_skb(local->rx_pending);
|
||||
kfree(local);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user