diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2012-05-31 17:29:15 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-06-04 21:34:33 +0200 |
commit | 07922bb1e0eb3fb4e559eea2430a35dbf33659e0 (patch) | |
tree | e864dc499d5fd4d868503f277462313103e96093 | |
parent | 5e50ee3ae6e465be89dd0a66f78c3211a412d595 (diff) | |
download | linux-07922bb1e0eb3fb4e559eea2430a35dbf33659e0.tar.gz linux-07922bb1e0eb3fb4e559eea2430a35dbf33659e0.tar.bz2 linux-07922bb1e0eb3fb4e559eea2430a35dbf33659e0.zip |
NFC: Destroy LLCP timout workqueue when releasing the link
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r-- | net/nfc/llcp/llcp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/nfc/llcp/llcp.c b/net/nfc/llcp/llcp.c index 3fe68e1d2e88..5d503eeb15a1 100644 --- a/net/nfc/llcp/llcp.c +++ b/net/nfc/llcp/llcp.c @@ -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); } |