2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-15 00:34:10 +08:00

NFC: Destroy LLCP timout workqueue when releasing the link

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Samuel Ortiz 2012-05-31 17:29:15 +02:00
parent 5e50ee3ae6
commit 07922bb1e0

View File

@ -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);
}