diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2015-01-01 00:13:39 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-01-06 16:19:35 +0100 |
commit | 8b324fa6915bf4ad7d28e58a5a004f16e470e58d (patch) | |
tree | 44f0802f8ecc5397d4462065357cb06be6e63630 /MAINTAINERS | |
parent | 661cf88acd84875c275820ed01e42b25c4e9a1e2 (diff) | |
download | op-kernel-dev-8b324fa6915bf4ad7d28e58a5a004f16e470e58d.zip op-kernel-dev-8b324fa6915bf4ad7d28e58a5a004f16e470e58d.tar.gz |
Bluetooth: btmrvl: fix race issue while stopping main thread
btmrvl_remove_card() calls kthread_stop() to stop the main thread,
but kthread_should_stop() is checked when all the activities are done
in the main thread before sleeping.
We will have kthread_should_stop() check as soon as main thread is
woken up. This fixes a crash issue caused due to an invalid memory
access while unnecessarily processing interrupts after card removal.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions