aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorJohan Hedberg <[email protected]>2011-11-08 20:40:14 +0200
committerGustavo F. Padovan <[email protected]>2011-11-09 12:33:26 -0200
commit744cf19eadcf4de914394e0eb227f94f4318f5e4 (patch)
treea8c06c43be956e5db8db1bc1e052b773626892c6 /tools/perf/scripts/python/net_dropmonitor.py
parent4c659c3976e81f9def48993cd00988d53d7379f2 (diff)
Bluetooth: Pass full hci_dev struct to mgmt callbacks
The current global pending command list in mgmt.c is racy. Possibly the simplest way to fix it is to have per-hci dev lists instead of a global one (all commands that need a pending struct are hci_dev specific). This way the list can be protected using the already existing per-hci dev lock. To enable this refactoring the first thing that needs to be done is to ensure that the mgmt functions have access to the hci_dev struct (instead of just the dev id). Signed-off-by: Johan Hedberg <[email protected]> Acked-by: Marcel Holtmann <[email protected]> Signed-off-by: Gustavo F. Padovan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions