]> 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)
commit8f660fff850f5498fd513a6b66e7380a55596644
tree584815bbafbb526300b00671d226744f0e411e2b
parente200c1bf917f01b39001daa843435c9de42b3c17
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