diff options
author | Gregory Herrero <gregory.herrero@intel.com> | 2015-04-29 22:09:15 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-04-29 15:19:55 -0500 |
commit | 33ad261aa62be02f0cedeb4d5735cc726de84a3f (patch) | |
tree | 813c94cc9394145e309c77882c5f5427894da83b /tools/perf/scripts/python | |
parent | a7714c1cb11dc3bb97a76d2bb0560415d155b1d5 (diff) |
usb: dwc2: host: spinlock urb_enqueue
During urb_enqueue, if the urb can't be queued to the endpoint,
the urb is freed without any spinlock protection.
This leads to memory corruption when concurrent urb_dequeue try to free
same urb->hcpriv.
Thus, ensure the whole urb_enqueue in spinlocked.
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Gregory Herrero <gregory.herrero@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions