aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRupesh Tatiya <rtatiya@codeaurora.org>2015-02-13 16:45:10 +0530
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:59:07 +0200
commit5e12e666ee9c6a72bb0103a4539330a3b0225e34 (patch)
tree411e39313808412dd5493a4af28dbbffc19194cd /include
parent06985e882dcc1795b38b84f02e6594ba7a6283de (diff)
Bluetooth: remove unnecessary check on BT_CLOSED socks during accept
BT_CLOSED sockets are unlinked from teardown callback. Trying to unlink such sockets from bt_accept_dequeue may lead to NULL dereference as teardown callback does not hold lock for parent sock. bt_accept_unlink may be called from two threads, resulting in incorrect socket ref count. Return if parent is NULL. Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions