bluetooth l2cap: fix locking in l2cap_global_chan_by_psm
commita7567b2059020bf3fa96c389ec25eed8e28ad4ba
authorJohannes Berg <johannes.berg@intel.com>
Wed, 1 Jun 2011 06:29:54 +0000 (1 08:29 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 1 Jun 2011 18:35:54 +0000 (1 14:35 -0400)
tree8cade3b43b567a6fbf0541cffd36295c07f79552
parent21fdc87248d1d28492c775e05fa92b3c8c7bc8db
bluetooth l2cap: fix locking in l2cap_global_chan_by_psm

read_lock() ... read_unlock_bh() is clearly bogus.
This was broken by

commit 23691d75cdc69c3b285211b4d77746aa20a17d18
Author: Gustavo F. Padovan <padovan@profusion.mobi>
Date:   Wed Apr 27 18:26:32 2011 -0300

    Bluetooth: Remove l2cap_sk_list

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/bluetooth/l2cap_core.c