summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2026-08-30 17:21:42 +0200
committerSven Eckelmann <sven@narfation.org>2026-08-30 20:05:56 +0200
commit976b159b3c12be89459390bdf950534f639a5200 (patch)
tree34acd73951e4ba3d060bbb0deb830130c1c4efa5 /tools/lib/python/kdoc/python_version.py
parent52d8c713f464448a055025dab4ceff6afcc68e02 (diff)
batman-adv: tt: use protected flag modifications
The flags of translation table entries are modified in various places using RMW operations like: * read flags + add flag + store * read flags + remove flag + store These were done without making sure that no other context is doing a similar operation at the same time. If another context does modify the flags then it could happen that a store of the flag modifications is simply lost. This problem can usually be fixed at a later point when the flags are tried to be adjusted again. To reduce the time the wrong flags are used, it is better to use a TT entry specific spinlock when accessing the u16. Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions