linux_dsm_epyc7002/drivers/usb
Felipe Balbi d8eca64eec usb: dwc3: gadget: fix race when disabling ep with cancelled xfers
When disabling an endpoint which has cancelled requests, we should
make sure to giveback requests that are currently pending in the
cancelled list, otherwise we may fall into a situation where command
completion interrupt fires after endpoint has been disabled, therefore
causing a splat.

Fixes: fec9095bde "usb: dwc3: gadget: remove wait_end_transfer"
Reported-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Link: https://lore.kernel.org/r/20191031090713.1452818-1-felipe.balbi@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-10-31 18:57:54 +01:00
..
atm
c67x00
cdns3 usb: cdns3: gadget: Fix g_audio use case when connected to Super-Speed host 2019-10-30 14:39:07 +01:00
chipidea
class USB: usblp: fix use-after-free on disconnect 2019-10-15 20:19:19 +02:00
common
core USB: Skip endpoints with 0 maxpacket length 2019-10-28 17:46:22 +01:00
dwc2
dwc3 usb: dwc3: gadget: fix race when disabling ep with cancelled xfers 2019-10-31 18:57:54 +01:00
early
gadget USB: gadget: Reject endpoints with 0 maxpacket value 2019-10-29 09:56:18 +01:00
host usb: xhci: fix __le32/__le64 accessors in debugfs code 2019-10-28 17:47:08 +01:00
image
isp1760
misc USB: ldusb: fix control-message timeout 2019-10-28 17:46:24 +01:00
mon
mtu3 usb: mtu3: fix missing include of mtu3_dr.h 2019-10-27 08:58:44 +02:00
musb
phy
renesas_usbhs usb: renesas_usbhs: fix type of buf 2019-10-27 08:58:44 +02:00
roles
serial USB: serial: whiteheat: fix line-speed endianness 2019-10-30 10:06:32 +01:00
storage UAS: Revert commit 3ae62a4209 ("UAS: fix alignment of scatter/gather segments") 2019-10-28 17:53:39 +01:00
typec
usbip usbip: Fix free of unallocated memory in vhci tx 2019-10-28 17:51:06 +01:00
Kconfig
Makefile
usb-skeleton.c USB: usb-skeleton: drop redundant in-urb check 2019-10-10 12:41:19 +02:00