From: Johan Hedberg Date: Wed, 25 Sep 2013 10:26:05 +0000 (+0300) Subject: Bluetooth: Clean up socket locking in l2cap_sock_recvmsg X-Git-Tag: v3.13-rc1~105^2~225^2~24^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=970871bc9cb2f5f783cb7cca31ff223c44662327;p=pandora-kernel.git Bluetooth: Clean up socket locking in l2cap_sock_recvmsg This patch cleans up the locking login in l2cap_sock_recvmsg by pairing up each lock_sock call with a release_sock call. The function already has a "done" label that handles releasing the socket and returning from the function so the fix is rather simple. Signed-off-by: Johan Hedberg Acked-by: Marcel Holtmann Signed-off-by: Gustavo Padovan --- Reading git-diff-tree failed