aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/debug.c
diff options
context:
space:
mode:
authorYunshui Jiang <jiangyunshui@kylinos.cn>2024-05-31 16:07:39 +0800
committerStefan Schmidt <stefan@datenfreihafen.org>2024-06-03 11:20:56 +0200
commitb8ec0dc3845f6c9089573cb5c2c4b05f7fc10728 (patch)
treea55d585a1f5fa8e853b21987227fc645923e7fea /tools/lib/api/debug.c
parent07aa33988ad92fef79056f5ec30b9a0e4364b616 (diff)
net: mac802154: Fix racy device stats updates by DEV_STATS_INC() and DEV_STATS_ADD()
mac802154 devices update their dev->stats fields locklessly. Therefore these counters should be updated atomically. Adopt SMP safe DEV_STATS_INC() and DEV_STATS_ADD() to achieve this. Signed-off-by: Yunshui Jiang <jiangyunshui@kylinos.cn> Message-ID: <20240531080739.2608969-1-jiangyunshui@kylinos.cn> Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions