Skip to content

Fix two KCSAN issues

Oliver Hartkopp linux-can sashiko-reviews 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2can: bcm: add locking when updating filter and timer valuesnet/can/bcm.c+52 -91 reply
2/2can: bcm: use atomic access in receive statisticsnet/can/bcm.c+17 -101 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] Fix two KCSAN issues

Patch 1 supersedes the "add locking when updating filter and timer values"
https://patchwork.kernel.org/project/linux-can/patch/[email protected]/
where the readers in softirq/timer context have not been addressed correctly and some comment was insufficient.

Patch 2 fixed an issue that has been detected by KCSAN when I was testing patch 1 ;-)

V2: Changed the commit message of patch 1 as suggested by the AI review. But the review result that "The syzbot report link could not be verified." is obviously wrong. The URL works flawlessly:
https://lore.kernel.org/linux-can/[email protected]/

Oliver Hartkopp (2):
can: bcm: add locking when updating filter and timer values
can: bcm: use atomic access in receive statistics

 net/can/bcm.c | 88 ++++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 69 insertions(+), 19 deletions(-)
Signature · 1 line
2.53.0