diff options
| author | Marc Kleine-Budde <mkl@pengutronix.de> | 2025-11-08 10:01:01 +0100 |
|---|---|---|
| committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2025-11-16 17:03:43 +0100 |
| commit | 516a0cd1c03fa266bb67dd87940a209fd4e53ce7 (patch) | |
| tree | 653089f88746956a16d2f1c19e2c638cf42d7b39 /tools/lib/python/abi/abi_regex.py | |
| parent | 30db4451c7f6aabcada029b15859a76962ec0cf8 (diff) | |
can: gs_usb: gs_usb_xmit_callback(): fix handling of failed transmitted URBs
The driver lacks the cleanup of failed transfers of URBs. This reduces the
number of available URBs per error by 1. This leads to reduced performance
and ultimately to a complete stop of the transmission.
If the sending of a bulk URB fails do proper cleanup:
- increase netdev stats
- mark the echo_sbk as free
- free the driver's context and do accounting
- wake the send queue
Closes: https://github.com/candle-usb/candleLight_fw/issues/187
Fixes: d08e973a77d1 ("can: gs_usb: Added support for the GS_USB CAN devices")
Link: https://patch.msgid.link/20251114-gs_usb-fix-usb-callbacks-v1-1-a29b42eacada@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/lib/python/abi/abi_regex.py')
0 files changed, 0 insertions, 0 deletions
