]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitfd1278d720b48ad7576f64014b916cc77365cb3f
tree5d692235135cbdeac93f10b52084ec72009a8541
parent0263603a01e802f79e369ac489793e5320031560
[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