summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2026-05-12 20:37:05 +0300
committerSven Eckelmann <sven@narfation.org>2026-06-01 15:22:02 +0300
commit58020571b54f41ddd786eb96cb0deb66668453db (patch)
tree112c97811db93a27b3b45babbec1dd678bbd4758 /include/linux/stackprotector.h
parent2b2450e3266ad01feb5ad0adb6ec3cd5b830c511 (diff)
downloadlinux-58020571b54f41ddd786eb96cb0deb66668453db.tar.xz
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/stackprotector.h')
0 files changed, 0 insertions, 0 deletions