diff options
author | 2015-04-29 22:09:15 +0200 | |
---|---|---|
committer | 2015-04-29 15:19:55 -0500 | |
commit | 33ad261aa62be02f0cedeb4d5735cc726de84a3f (patch) | |
tree | 813c94cc9394145e309c77882c5f5427894da83b /scripts/mod/devicetable-offsets.c | |
parent | usb: dwc2: host: resume root hub on port connect (diff) | |
download | linux-rng-33ad261aa62be02f0cedeb4d5735cc726de84a3f.tar.xz linux-rng-33ad261aa62be02f0cedeb4d5735cc726de84a3f.zip |
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 'scripts/mod/devicetable-offsets.c')
0 files changed, 0 insertions, 0 deletions