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
..
2012-04-15 12:44:40 -04:00
2012-04-02 04:33:44 -04:00
2012-04-15 12:44:40 -04:00
2012-04-16 21:08:18 +02:00
2012-04-25 19:47:17 -04:00
2012-05-08 20:25:42 +02:00
2012-05-08 20:25:42 +02:00
2012-04-15 12:44:40 -04:00
2012-04-15 12:44:40 -04:00
2012-04-21 16:24:20 -04:00