]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[Bluetooth] Fix deadlock in the L2CAP layer
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 25 Jan 2007 19:54:35 +0000 (20:54 +0100)
committerAdrian Bunk <bunk@stusta.de>
Fri, 26 Jan 2007 19:49:22 +0000 (20:49 +0100)
commit7c59646310d59f004f14d7a65df7d4201d8f1d6d
treecaaf78a7525e1accd9053be560fc8ef073f14dd2
parentc2afb6058b25bc201d7ca24e2541941d09d03ae9
[Bluetooth] Fix deadlock in the L2CAP layer

The Bluetooth L2CAP layer has 2 locks that are used in softirq context,
(one spinlock and one rwlock, where the softirq usage is readlock) but
where not all usages of the lock were _bh safe. The patch below corrects
this.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
net/bluetooth/l2cap.c