Re: [PATCH] can: ems_usb: Fix possible tx overflow

2016-02-25 Thread David Miller
From: Marc Kleine-Budde Date: Mon, 22 Feb 2016 13:18:38 +0100 > David, I can send a patch to clean up the coding style. Do you want it > for net or via net-next? net-next is fine.

Re: [PATCH] can: ems_usb: Fix possible tx overflow

2016-02-22 Thread Marc Kleine-Budde
On 02/22/2016 01:11 PM, Sergei Shtylyov wrote: > Hello. > > On 2/21/2016 6:27 PM, Marc Kleine-Budde wrote: > >> From: Gerhard Uttenthaler >> >> 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 bau

Re: [PATCH] can: ems_usb: Fix possible tx overflow

2016-02-22 Thread Sergei Shtylyov
Hello. On 2/21/2016 6:27 PM, Marc Kleine-Budde wrote: From: Gerhard Uttenthaler 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_bul

[PATCH] can: ems_usb: Fix possible tx overflow

2016-02-21 Thread Marc Kleine-Budde
From: Gerhard Uttenthaler 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