Bluetooth update for 2.6
Subsystems (2)
Hi Dave,
here are some bug fixes for the Bluetooth subsystem. I included the kzalloc cleanup since I saw you still taking these kind of updates.
Regards
Marcel
Please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/holtmann/bluetooth-2.6.git
This will update the following files:
drivers/bluetooth/hci_ldisc.c | 4 ++-- net/bluetooth/cmtp/capi.c | 4 +--- net/bluetooth/cmtp/core.c | 3 +-- net/bluetooth/hci_core.c | 7 ++----- net/bluetooth/hidp/Kconfig | 3 +-- net/bluetooth/hidp/core.c | 3 +-- net/bluetooth/l2cap.c | 18 +++++++++--------- net/bluetooth/rfcomm/core.c | 9 +++++---- net/bluetooth/rfcomm/tty.c | 3 +-- net/bluetooth/sco.c | 12 +++++------- 10 files changed, 28 insertions(+), 38 deletions(-)
through these ChangeSets:
Marcel Holtmann <[email protected]> Wed, 12 Jul 2006 23:00:07 +0200
[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.
Marcel Holtmann <[email protected]> Wed, 12 Jul 2006 22:57:52 +0200
[Bluetooth] Let BT_HIDP depend on INPUT
This patch lets BT_HIDP depend on instead of select INPUT. This fixes the following warning during an s390 build:
net/bluetooth/hidp/Kconfig:4:warning: 'select' used by config symbol 'BT_HIDP' refer to undefined symbol 'INPUT'
A dependency on INPUT also implies !S390 (and therefore makes the explicit dependency obsolete) since INPUT is not available on s390.
The practical difference should be nearly zero, since INPUT is always set to y unless EMBEDDED=y (or S390=y).
Marcel Holtmann <[email protected]> Thu, 06 Jul 2006 15:53:31 +0200
[Bluetooth] Avoid NULL pointer dereference with tty->driver
This patch checks for tty->driver before trying to call flush_buffer().
Signed-off-by: Marcel Holtmann <[email protected]>Marcel Holtmann <[email protected]> Thu, 06 Jul 2006 15:40:09 +0200
[Bluetooth] Remaining transitions to use kzalloc()
This patch makes the remaining transitions to use kzalloc().
David Miller
maintainerFrom: Marcel Holtmann <[email protected]>
Date: Wed, 12 Jul 2006 23:49:55 +0200
Quoted 2 lines
here are some bug fixes for the Bluetooth subsystem. I included the kzalloc cleanup since I saw you still taking these kind of updates.
...
Quoted 3 lines
Please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/holtmann/bluetooth-2.6.git
Pulled, thanks a lot!