diff options
author | Gerhard Uttenthaler <uttenthaler@ems-wuensche.com> | 2015-12-22 17:29:16 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2016-02-21 15:09:12 +0100 |
commit | 90cfde46586d2286488d8ed636929e936c0c9ab2 (patch) | |
tree | 34d77130dc42d8daa40c88016982dff392b8225d /Documentation | |
parent | d07c0278da1f4cfc91c3d46d0d07a0d13a949892 (diff) | |
download | linux-90cfde46586d2286488d8ed636929e936c0c9ab2.tar.bz2 |
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions