aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorAlan Stern <[email protected]>2017-09-21 20:12:01 +0000
committerGreg Kroah-Hartman <[email protected]>2017-09-22 16:29:00 +0000
commit6e76c01e71551cb221c1f3deacb9dcd9a7346784 (patch)
tree7d82a827794b423e0e7232a87f0656f2aa5add8a /tools/perf/scripts/python/futex-contention.py
parentUSB: uas: fix bug in handling of alternate settings (diff)
downloadkernel-6e76c01e71551cb221c1f3deacb9dcd9a7346784.tar.gz
kernel-6e76c01e71551cb221c1f3deacb9dcd9a7346784.zip
USB: gadgetfs: fix copy_to_user while holding spinlock
The gadgetfs driver as a long-outstanding FIXME, regarding a call of copy_to_user() made while holding a spinlock. This patch fixes the issue by dropping the spinlock and using the dev->udc_usage mechanism introduced by another recent patch to guard against status changes while the lock isn't held. Signed-off-by: Alan Stern <[email protected]> Reported-by: Andrey Konovalov <[email protected]> CC: <[email protected]> Acked-by: Felipe Balbi <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions