aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorJohan Hedberg <[email protected]>2014-08-07 22:56:42 +0300
committerMarcel Holtmann <[email protected]>2014-08-14 08:49:11 +0200
commita24cce144b9814a17f46006dbad6056f1f5f481e (patch)
tree58692975c72de95cdda4b3c0a68db88ac4166a12 /tools/perf/scripts/python/netdev-times.py
parent2b29349044cc2cf74d4c6e23e26cd27977d91353 (diff)
Bluetooth: Fix reference counting of global L2CAP channels
When looking up entries from the global L2CAP channel list there needs to be a guarantee that other code doesn't go and remove the entry after a channel has been returned by the lookup function. This patch makes sure that the channel reference is incremented before the read lock is released in the global channel lookup functions. The patch also adds the corresponding l2cap_chan_put() calls once the channels pointers are no-longer needed. Signed-off-by: Johan Hedberg <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions