summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2026-05-12 19:37:05 +0200
committerSven Eckelmann <sven@narfation.org>2026-06-01 14:22:02 +0200
commit58020571b54f41ddd786eb96cb0deb66668453db (patch)
tree112c97811db93a27b3b45babbec1dd678bbd4758 /include/linux
parent2b2450e3266ad01feb5ad0adb6ec3cd5b830c511 (diff)
batman-adv: replace non-atomic packet_size_max with (READ|WRITE)_ONCE
The maximum packet size of an meshif is only accessed as plain loads/stores and does not require full atomic_t semantics. Convert to a native integer and replace its users with READ_ONCE()/WRITE_ONCE() to avoid load/store tearing. Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions