aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorRupesh Tatiya <rtatiya@codeaurora.org>2015-04-30 16:51:54 +0530
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:59:09 +0200
commitfd91149633127f41960aa2a8d9b2829cbd7e677f (patch)
tree8ea28415e6ff33ba24a639912ed5dbf0ab44c5f6 /include/linux/debugobjects.h
parentd9b0f3472f74a8cc5f7fd2f81fe3451e25fe3f9a (diff)
Bluetooth: Release locks before sleeping for L2CAP socket shutdown
If there are unacknowledged frames during an ongoing L2CAP transfer and if socket is shutdown, it will result in deadlock as locks are not released before going to sleep. The L2CAP receive thread will be waiting on locks to update unacknowledged frame count, whereas socket shutdown thread will be sleeping till unacknowledged count becomes 0 resulting in deadlock. Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions