]> git.baikalelectronics.ru Git - kernel.git/commit
[Bluetooth] Fix deadlock in the L2CAP layer
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 12 Jul 2006 21:00:07 +0000 (23:00 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 12 Jul 2006 22:34:35 +0000 (15:34 -0700)
commit35e138dc83d706554af548b55cb43b1a618630d1
tree5d692235135cbdeac93f10b52084ec72009a8541
parent835641ccd8ad5d91e0f4f737d6b469a980e54f93
[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>
net/bluetooth/l2cap.c