aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2011-12-16 22:20:01 +0800
committerGreg Kroah-Hartman <[email protected]>2012-01-04 15:52:41 -0800
commit26c71a79cade5ccad80e0752cd82f3518df48fb3 (patch)
tree965a339ad5ef6a02635455394525e37141b86fef /tools/perf/scripts/python/check-perf-trace.py
parente78832cdca2ddd23c15abaed642cad1a39b3e122 (diff)
USB: usb-skeleton.c: fix open/disconnect race
If usb device is disconnected between usb_get_intfdata() and kref_get() in skel_open(), kref_get may access a freed object. Also check if device is disconnected in ->open. Signed-off-by: Ming Lei <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions