Bluetooth: Revert to mutexes from RCU list
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Tue, 21 Feb 2012 10:54:55 +0000 (12:54 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 11:06:57 +0000 (13:06 +0200)
commit3df91ea20e744344100b10ae69a17211fcf5b207
treee238acaf376266331985debc4a5a76c4e2636209
parent1b009c982482ee0e4cbabcd9bdae690a29119ede
Bluetooth: Revert to mutexes from RCU list

Usage of RCU list looks not reasonalbe for a number of reasons:
our code sleep and we had to use socket spinlocks. Most parts
of code are updaters thus there is little sense to use RCU.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Reviewed-by: Ulisses Furquim <ulisses@profusion.mobi>
Acked-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/l2cap_core.c
net/bluetooth/l2cap_sock.c