[PATCH v2 0/2] can: bcm: add/fix locking for config updates at runtime
From: Oliver Hartkopp via B4 Relay
Date: Thu Feb 19 2026 - 07:47:58 EST
Address two locking issues detected by KASAN and KCSAN.
The first patch fixes an unintialized spin_lock in the KASAN fix.
The second patch addresses the update of content in bcm_rx_setup().
Signed-off-by: Oliver Hartkopp <socketcan@xxxxxxxxxxxx>
---
Changes in v2:
- Add a second patch addressing the KCSAN report
- Link to v1: https://patch.msgid.link/20260218-bcm_spin_lock_init-v1-1-592634c8a5b5@xxxxxxxxxxxx
---
Oliver Hartkopp (2):
can: bcm: fix locking for bcm_op runtime updates
can: bcm: add locking when updating filter and timer values
net/can/bcm.c | 40 +++++++++++++++++++++++++++++++++-------
1 file changed, 33 insertions(+), 7 deletions(-)
---
base-commit: 2961f841b025fb234860bac26dfb7fa7cb0fb122
change-id: 20260218-bcm_spin_lock_init-2518eb8d4501
Best regards,
--
Oliver Hartkopp <socketcan@xxxxxxxxxxxx>