summaryrefslogtreecommitdiff
path: root/arch/arm64
diff options
context:
space:
mode:
authorThomas Pugliese <thomas.pugliese@gmail.com>2013-08-09 09:52:13 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-20 08:43:05 -0700
commitf34a4837cd0b28abe7449e591a23cb32ab128520 (patch)
tree545fb90294b2545d40b0d4a08acbde9068c9ea14 /arch/arm64
parent1dba303727f52ea062580b0a9b3f0c3b462769cf (diff)
downloadlinux-3.10-f34a4837cd0b28abe7449e591a23cb32ab128520.tar.gz
linux-3.10-f34a4837cd0b28abe7449e591a23cb32ab128520.tar.bz2
linux-3.10-f34a4837cd0b28abe7449e591a23cb32ab128520.zip
wusbcore: fix kernel panic when disconnecting a wireless USB->serial device
commit ec58fad1feb76c323ef47efff1d1e8660ed4644c upstream. This patch fixes a kernel panic that can occur when disconnecting a wireless USB->serial device. When the serial device disconnects, the device cleanup procedure ends up calling usb_hcd_disable_endpoint on the serial device's endpoints. The wusbcore uses the ABORT_RPIPE command to abort all transfers on the given endpoint but it does not properly give back the URBs when the transfer results return from the HWA. This patch prevents the transfer result processing code from bailing out when it sees a WA_XFER_STATUS_ABORTED result code so that these urbs are flushed properly by usb_hcd_disable_endpoint. It also updates wa_urb_dequeue to handle the case where the endpoint has already been cleaned up when usb_kill_urb is called which is where the panic originally occurred. Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions