]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: llcp: Clean local timers and works when removing a device
authorSamuel Ortiz <sameo@linux.intel.com>
Thu, 21 Feb 2013 14:40:04 +0000 (15:40 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 8 Mar 2013 13:25:04 +0000 (14:25 +0100)
commit5319d3ea7bbc7126590c1242ebb92a5b109baf03
tree584815bbafbb526300b00671d226744f0e411e2b
parente9ae9ad518462bd803ead6659406fed511dc3160
NFC: llcp: Clean local timers and works when removing a device

Whenever an adapter is removed we must clean all the local structures,
especially the timers and scheduled work. Otherwise those asynchronous
threads will eventually try to access the freed nfc_dev pointer if an LLCP
link is up.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/llcp/llcp.c