linux/drivers/net/can/usb
Martin Kelly bd352e1adf can: ems_usb: cancel urb on -EPIPE and -EPROTO
In mcba_usb, we have observed that when you unplug the device, the driver will
endlessly resubmit failing URBs, which can cause CPU stalls. This issue
is fixed in mcba_usb by catching the codes seen on device disconnect
(-EPIPE and -EPROTO).

This driver also resubmits in the case of -EPIPE and -EPROTO, so fix it
in the same way.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2017-12-08 10:45:11 +01:00
..
peak_usb drivers/net: can: Convert timers to use timer_setup() 2017-10-27 12:09:15 +09:00
ems_usb.c can: ems_usb: cancel urb on -EPIPE and -EPROTO 2017-12-08 10:45:11 +01:00
esd_usb2.c can: esd_usb2: Fix can_dlc value for received RTR, frames 2017-10-19 13:05:54 +02:00
gs_usb.c can: gs_usb: fix busy loop if no more TX context is available 2017-10-19 13:05:54 +02:00
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-04-26 22:39:08 -04:00
kvaser_usb.c can: kvaser_usb: ratelimit errors if incomplete messages are received 2017-12-01 11:20:52 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mcba_usb.c can: mcba_usb: cancel urb on -EPROTO 2017-12-08 10:45:11 +01:00
usb_8dev.c can: usb_8dev: Fix memory leak of priv->cmd_msg_buffer 2017-03-03 13:00:07 +01:00