Bluetooth: Add locking scheme to L2CAP timeout callbacks
authorGustavo F. Padovan <gustavo@las.ic.unicamp.br>
Mon, 24 Aug 2009 03:45:19 +0000 (00:45 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 24 Aug 2009 08:05:05 +0000 (01:05 -0700)
commite686219a64fee9be9ce438dc3f040cd71ddd168a
tree1b72117be85dc4dd5c4656e459043d2528069760
parent9e726b17422bade75fba94e625cd35fd1353e682
Bluetooth: Add locking scheme to L2CAP timeout callbacks

Avoid race conditions when accessing the L2CAP socket from within the
timeout handlers.

Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap.c