提交 07922bb1 编写于 作者: S Samuel Ortiz

NFC: Destroy LLCP timout workqueue when releasing the link

Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 5e50ee3a
...@@ -111,6 +111,7 @@ static void local_release(struct kref *ref) ...@@ -111,6 +111,7 @@ static void local_release(struct kref *ref)
skb_queue_purge(&local->tx_queue); skb_queue_purge(&local->tx_queue);
destroy_workqueue(local->tx_wq); destroy_workqueue(local->tx_wq);
destroy_workqueue(local->rx_wq); destroy_workqueue(local->rx_wq);
destroy_workqueue(local->timeout_wq);
kfree_skb(local->rx_pending); kfree_skb(local->rx_pending);
kfree(local); kfree(local);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册