diff options
author | 2013-10-21 14:21:40 -0200 | |
---|---|---|
committer | 2013-10-21 12:58:17 -0700 | |
commit | f93fa2732313ca31ebdc68fd2d5b67fd1d363b42 (patch) | |
tree | aa378097cdf605ca07e040dd7aa4f7e351705128 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Bluetooth: Hold socket in defer callback in L2CAP socket (diff) | |
download | linux-dev-f93fa2732313ca31ebdc68fd2d5b67fd1d363b42.tar.xz linux-dev-f93fa2732313ca31ebdc68fd2d5b67fd1d363b42.zip |
Bluetooth: Remove socket lock from l2cap_state_change()
This simplify and make safer the state change handling inside l2cap_core.c.
we got rid of __l2cap_state_change(). And l2cap_state_change() doesn't lock
the socket anymore, instead the socket is locked inside the ops callback for
state change in l2cap_sock.c.
It makes the code safer because in some we were using a unlocked version,
and now we are calls to l2cap_state_change(), when dealing with sockets, use
the locked version.
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions