aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChristian Gromm <[email protected]>2018-05-08 11:45:15 +0200
committerGreg Kroah-Hartman <[email protected]>2018-05-08 13:41:51 +0200
commitc06b99e002d06a69174a862c0da43ce0cebfe78d (patch)
tree4fd691568995722966a20b7a09230c90104842da /tools/perf/scripts/python/export-to-sqlite.py
parent9a32315b0b162a9ec13c41c0c69d4b93095494ca (diff)
staging: most: usb: fix usb_disconnect race condition
The functions usb_disconnect and usb_sndbulkpipe are racing for the struct usb_device, which might cause a null pointer dereference exception. This patch fixes this race condition by protecting the critical section inside the function hdm_enque with the io_mutex. Signed-off-by: Christian Gromm <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions