alistair23-linux/include/net/bluetooth
Mat Martineau a6a5568c03 Bluetooth: Lock the L2CAP channel when sending
The ERTM and streaming mode transmit queue must only be accessed while
the L2CAP channel lock is held.  Locking the channel before calling
l2cap_chan_send ensures that multiple threads cannot simultaneously
manipulate the queue when sending and receiving concurrently.

L2CAP channel locking had previously moved to the l2cap_chan struct
instead of the associated socket, so some of the old socket locking
can also be removed in this patch.

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
2012-05-16 16:14:02 -03:00
..
bluetooth.h Bluetooth: Lock the L2CAP channel when sending 2012-05-16 16:14:02 -03:00
hci.h Bluetooth: Enable Low Energy support by default 2012-05-09 01:40:52 -03:00
hci_core.h Bluetooth: Fix EIR data generation for mgmt_device_found 2012-05-16 16:13:19 -03:00
hci_mon.h Bluetooth: Fix coding style in all .h files 2012-03-07 00:04:25 -03:00
l2cap.h Bluetooth: Refactor L2CAP ERTM and streaming transmit segmentation 2012-05-09 01:40:53 -03:00
mgmt.h Bluetooth: Add management command for setting Device ID 2012-05-09 00:41:30 -03:00
rfcomm.h Bluetooth: rfcomm: Fix sleep in invalid context in rfcomm_security_cfm 2011-11-07 17:24:49 -02:00
sco.h Bluetooth: clean up legal text 2010-12-01 21:04:43 -02:00
smp.h Bluetooth: Correct ediv in SMP 2012-05-09 00:41:30 -03:00