Re: [PATCH v2] Bluetooth: 6lowpan: use DEV_STAT_INC() to avoid races
From: Paul Menzel
Date: Mon May 27 2024 - 03:03:59 EST
Dear yunshui,
Thank you for your patch. One formal request:
Am 27.05.24 um 08:52 schrieb yunshui:
syzbot/KCSAN reported that races happen when multiple cpus
updating dev->stats.tx_error concurrently.
Adopt SMP safe DEV_STATS_INC() to update dev->stats fields.
Signed-off-by: yunshui <jiangyunshui@xxxxxxxxxx>
Could you please use your full name? Maybe:
$ git config --global user.name "Jiang Yunshui"
$ git commit --amend --author="Jiang Yunshui <jiangyunshui@xxxxxxxxxx>"
[…]
Kind regards,
Paul