Thread (6 messages) 6 messages, 3 authors, 2012-02-22

Re: [PATCHv3 2/3] Bluetooth: Change sk lock to chan lock in L2CAP core

From: Gustavo Padovan <hidden>
Date: 2012-02-22 18:41:46

Hi Andrei,

* Andrei Emeltchenko [off-list ref] [2012-02-22 17:11:56 +0200]:
From: Andrei Emeltchenko <redacted>

Change sk lock to chan lock in l2cap core and move sk locks
to l2cap sock code. bh_locks were used because of being RCU
critical section. When needed use explicit socket locks.

Signed-off-by: Andrei Emeltchenko <redacted>
Reviewed-by: Ulisses Furquim <redacted>
---
 net/bluetooth/l2cap_core.c |  166 ++++++++++++++++++++++++++------------------
 net/bluetooth/l2cap_sock.c |   18 ++++-
 2 files changed, 114 insertions(+), 70 deletions(-)
Acked-by: Gustavo F. Padovan <redacted>

Now lets go to the next steps in the removal of socket usage inside L2CAP
core.

	Gustavo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help