diff options
| author | Sven Eckelmann <sven@narfation.org> | 2026-06-11 10:28:33 +0200 |
|---|---|---|
| committer | Sven Eckelmann <sven@narfation.org> | 2026-06-13 07:57:52 +0200 |
| commit | d67c728f07fca2ee6ffdc6dd4421cf2e8691f4d1 (patch) | |
| tree | a365ed2a47f49efa5d9fdb3b3931582d427a26f9 /tools/lib/python | |
| parent | e7c775110e1858e5a7471a23a9c9658c0af9df89 (diff) | |
batman-adv: tp_meter: annotate last_recv_time access with READ/WRITE_ONCE
The last_recv_time field for batadv_tp_receiver tracks the jiffies value of
the most recent activity and is used to detect timeouts. These accesses are
not consistently protected by a lock, so READ_ONCE/WRITE_ONCE must be used
to prevent data races caused by compiler optimizations.
Cc: stable@kernel.org
Fixes: 33a3bb4a3345 ("batman-adv: throughput meter implementation")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
