summaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky@linux.intel.com>2009-10-08 08:11:38 +0900
committerInaky Perez-Gonzalez <inaky@linux.intel.com>2009-10-19 15:56:22 +0900
commit4a78fd9a736db4c871bc8b583d66b61c38abd299 (patch)
tree2f8e5c53eb81091c321436b70280b9627e673815 /tools/perf
parent0c96859d7a5f0286ed70d3c4e140ac6816a350da (diff)
wimax/i2400m: fix oops caused by race condition when exiting USB kthreads
Current i2400m USB code had to threads (one for processing RX, one for TX). When calling i2400m_{tx,rx}_release(), it would crash if the thread had exited already due to an error. So changed the code to have the thread fill in/out i2400mu->{tx,rx}_kthread under a spinlock; then the _release() function will call kthread_stop() only if {rx,tx}_kthread is still set. Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions