diff options
| author | 2013-09-25 13:26:05 +0300 | |
|---|---|---|
| committer | 2013-09-25 14:30:10 -0300 | |
| commit | 970871bc9cb2f5f783cb7cca31ff223c44662327 (patch) | |
| tree | 7b4cb482b6441f43b17388b359232f36d0b47dc6 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | Bluetooth: Add clarifying comment to bt_sock_wait_state() (diff) | |
| download | linux-dev-970871bc9cb2f5f783cb7cca31ff223c44662327.tar.xz linux-dev-970871bc9cb2f5f783cb7cca31ff223c44662327.zip | |
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 <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
