[PATCH v2 0/2] can: bcm: add/fix locking for config updates at runtime

Oliver Hartkopp via B4 Relay posted 2 patches 1 month, 3 weeks ago
There is a newer version of this series
net/can/bcm.c | 40 +++++++++++++++++++++++++++++++++-------
1 file changed, 33 insertions(+), 7 deletions(-)
[PATCH v2 0/2] can: bcm: add/fix locking for config updates at runtime
Posted by Oliver Hartkopp via B4 Relay 1 month, 3 weeks ago
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@hartkopp.net>
---
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@hartkopp.net

---
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@hartkopp.net>