Return-Path: Date: Wed, 22 Feb 2012 16:41:46 -0200 From: Gustavo Padovan To: Andrei Emeltchenko Cc: linux-bluetooth@vger.kernel.org Subject: Re: [PATCHv3 2/3] Bluetooth: Change sk lock to chan lock in L2CAP core Message-ID: <20120222184146.GA23348@joana> References: <1329923517-5425-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> <1329923517-5425-3-git-send-email-Andrei.Emeltchenko.news@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1329923517-5425-3-git-send-email-Andrei.Emeltchenko.news@gmail.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Andrei, * Andrei Emeltchenko [2012-02-22 17:11:56 +0200]: > From: Andrei Emeltchenko > > 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 > Reviewed-by: Ulisses Furquim > --- > net/bluetooth/l2cap_core.c | 166 ++++++++++++++++++++++++++------------------ > net/bluetooth/l2cap_sock.c | 18 ++++- > 2 files changed, 114 insertions(+), 70 deletions(-) Acked-by: Gustavo F. Padovan Now lets go to the next steps in the removal of socket usage inside L2CAP core. Gustavo