linux-stable/drivers/net/can/usb
Gerhard Uttenthaler 90cfde4658 can: ems_usb: Fix possible tx overflow
This patch fixes the problem that more CAN messages could be sent to the
interface as could be send on the CAN bus. This was more likely for slow baud
rates. The sleeping _start_xmit was woken up in the _write_bulk_callback. Under
heavy TX load this produced another bulk transfer without checking the
free_slots variable and hence caused the overflow in the interface.

Signed-off-by: Gerhard Uttenthaler <uttenthaler@ems-wuensche.com>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2016-02-21 15:09:12 +01:00
..
peak_usb can: pcan_usb: don't provide CAN FD bittimings by non-FD adapters 2015-08-25 08:50:00 +02:00
ems_usb.c can: ems_usb: Fix possible tx overflow 2016-02-21 15:09:12 +01:00
esd_usb2.c can: remove obsolete assignment for CAN protocol error type 2015-11-23 09:37:38 +01:00
gs_usb.c can: gs_usb: Fix typo in function name 2015-08-20 10:52:42 +02:00
Kconfig can: peak_usb: add support for PEAK new CANFD USB adapters 2015-01-28 14:47:06 +01:00
kvaser_usb.c can: fix assignment of error location in CAN error messages 2015-11-23 09:37:34 +01:00
Makefile net: can: use kbuild magic to inherit debug settings 2014-08-18 01:03:38 +02:00
usb_8dev.c can: remove obsolete assignment for CAN protocol error type 2015-11-23 09:37:38 +01:00