]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Don't lock sock inside l2cap_get_sock_by_scid()
authorGustavo F. Padovan <padovan@profusion.mobi>
Wed, 13 Apr 2011 22:01:22 +0000 (19:01 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 13 Apr 2011 22:01:22 +0000 (19:01 -0300)
commitb48506d398d629e1c06372cf35c53e82bcd404d3
treebbaafef3334a85d339ff07cff622fcb58b4ef806
parent935d86fe40b0900f35c44712e53b69dbdd1ff09d
Bluetooth: Don't lock sock inside l2cap_get_sock_by_scid()

Fix an locking issue with the new l2cap_att_channel(). l2cap_att_channel()
was trying to lock a locked socket.

Reported-by: Anderson Lizardo <anderson.lizardo@openbossa.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap_core.c