diff options
| author | Sven Eckelmann <sven@narfation.org> | 2026-06-28 17:07:30 +0200 |
|---|---|---|
| committer | Sven Eckelmann <sven@narfation.org> | 2026-06-28 21:45:28 +0200 |
| commit | f846e779532ea99dea34005c1cfbb4820b582d1e (patch) | |
| tree | 778339fa20b76a059390147c2ea11a7fecd8d037 /tools/perf/scripts/python | |
| parent | 49e9de6e124fe80da68dfe9e7fe4e0b1ddfc4b35 (diff) | |
batman-adv: make hard_iface->mesh_iface immutable
With the hard_iface now being created for a specific mesh_iface, it is
beneficial not to set mesh_iface to NULL when the interface is disabled,
but instead keeping it immutable after the initial setup of the
hard_iface. By also holding the reference to the mesh_iface until the
hard_iface is released, hard_ifaces iterated over under RCU will always
point to a valid mesh_iface.
Co-developed-by: Nora Schiffer <neocturne@universe-factory.net>
Signed-off-by: Nora Schiffer <neocturne@universe-factory.net>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
