batman-adv: replace non-atomic vlan config fields with (READ|WRITE)_ONCE

The vlan configuration values are only accessed as plain loads/stores and
do not require full atomic_t semantics. Convert these fields to native
integer types and replace their users with READ_ONCE()/WRITE_ONCE() to
avoid load/store tearing.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
Sven Eckelmann 2026-05-12 19:37:05 +02:00
commit 26f8f9f937
No known key found for this signature in database
GPG key ID: 4D0F772BD314F5CB
5 changed files with 8 additions and 8 deletions