summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2026-05-04 21:32:24 +0200
committerSven Eckelmann <sven@narfation.org>2026-06-01 14:22:03 +0200
commit3bd64ca11d9a1672d67d3130a7264c2cf7f93cdf (patch)
tree8061cd8f099c8fc36f13ca924b2994dd806157ae /include/linux
parent735522e7ca3fb852c498ec17b3841750f0a84607 (diff)
batman-adv: use neigh_node's orig_node only as id
The orig_node member of struct batadv_neigh_node is no longer used in B.A.T.M.A.N. IV. But batadv_neigh_node_create() is still storing it. Only batadv_v_ogm_route_update() uses it to check if we route toward it - not needing the data stored in the batadv_orig_node object itself, but merely a pointer to identify the originator. The field cannot hold a proper reference because that would create a reference cycle, so it must never be dereferenced. Rename it to orig_node_id and mark it __private to make any future attempt to dereference it immediately noticeable. Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions