[PATCH can-next v6 0/6] gs_usb: fixes
From: Marc Kleine-Budde
Date: Fri Nov 13 2026 - 07:04:49 EST
Hello,
this series contains fixes for issues found by sashiko. Also picked up the
patches by Ciprian Marian Costea and Shuangpeng Bai and integrated them
into the series.
regards,
Marc
Signed-off-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>
---
Changes in v6:
- patch #5: add missing initialization hw_ts_supported in gs_usb_probe()
(sashiko)
- patch #5: work around race window in gs_usb_timestamp_start()
(sashiko)
- patch #5: start time stamping worker if the device supports HW time
stamping, if least one interface is brought up
- Link to v5: https://patch.msgid.link/20261108-gs_usb-fixes-v5-0-d52dd4940d46@xxxxxxxxxxxxxx
Changes in v5:
- patch #1: add new patch
- patch #3: gs_usb_disconnect(): first unregister_candev() all CAN
interfaces, then call gs_destroy_candev()
- patch #4: update Fixes tag (pointed out by sashiko)
- patch #4: use stats pointer directly (pointed out by sashiko)
- patch #5: add new patch
- Link to v4: https://patch.msgid.link/20261026-gs_usb-fixes-v4-0-59e3b6360053@xxxxxxxxxxxxxx
Changes in v4:
- patch #2: fix cleanup if register_candev() fails (pointed out by sashiko)
- Link to v3: https://patch.msgid.link/20261026-gs_usb-fixes-v3-0-3a68f1f62813@xxxxxxxxxxxxxx
Changes in v3:
- patch #2: fix cleanup if register_candev() fails (pointed out by sashiko)
- Link to v2: https://patch.msgid.link/20261025-gs_usb-fixes-v2-0-535d45097f72@xxxxxxxxxxxxxx
Changes in v2:
- patch #2: add missing cleanup if register_candev() fails (pointed out by sashiko)
- patch #3: do not increase rx_errors during OOM (pointed out by sashiko)
- Link to v1: https://patch.msgid.link/20261025-gs_usb-fixes-v1-0-f74ebbd4da36@xxxxxxxxxxxxxx
---
Ciprian Marian Costea (1):
can: gs_usb: gs_make_candev(): check can_rx_offload_add_manual() return value
Marc Kleine-Budde (4):
can: gs_usb: gs_can_start_xmit(): don't leak uninitialized memory over USB
can: gs_usb: gs_usb_probe(): init netdev completely before register_candev()
can: gs_usb: gs_usb_receive_bulk_callback(): check for overflow flag if SKB allocation fails
can: gs_usb: gs_usb_receive_bulk_callback(): add missing call to can_rx_offload_irq_finish
Shuangpeng Bai (1):
can: gs_usb: fix hardware timestamp state for mixed channels
drivers/net/can/usb/gs_usb.c | 187 +++++++++++++++++++++++++++++++------------
1 file changed, 136 insertions(+), 51 deletions(-)
---
base-commit: 573af801552999954caa8347e4490b04cf4763f0
base-tree: git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git master
change-id: 20261025-gs_usb-fixes-250f38833107
Best regards,
--
Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>