]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: shaper: annotate the data races
authorJakub Kicinski <kuba@kernel.org>
Fri, 15 May 2026 22:13:24 +0000 (15:13 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 20 May 2026 23:34:20 +0000 (16:34 -0700)
commita3442936dd0523277e20aaf86207c574e755c634
treea348fe0f703f436a882e2cf45f74b2ee2aded61c
parentabe003b33223ff33552f291644bf35d9c2f992fb
net: shaper: annotate the data races

As previously discussed we don't care about making the shaper
state fully RCU-compliant because the hierarchy itself can't
be dumped in one go over Netlink. Let's annotate the reads
and writes to make that clear.

The field-by-field assignments will also be useful for the
next commit which adds explicit "valid" field (which we don't
want to override with the current full struct assignment).

Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260515221325.1685455-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/shaper/shaper.c