Re: [PATCH batadv-next] batman-adv: use neigh_node's orig_node only as id

Sven Eckelmann <[email protected]> Wed, 06 May 2026 09:10:32 +0200
Newsgroups dev.linux.lists.sashiko
Message-ID <11781550.T7Z3S40VBb@ripper>
On Wednesday, 6 May 2026 05:58:11 CEST [email protected] wrote:
> > 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.
> 
> Is this description accurate? Looking at B.A.T.M.A.N. IV, the orig_node field
> still appears to be referenced in net/batman-adv/bat_iv_ogm.c in functions
> like batadv_iv_ogm_neigh_new() and batadv_iv_ogm_calc_tq().

According to the patch description, following patch needs to be applied before 
adding this changes:

prerequisite-patch-id: 8d01950de12c8f4715e9f4723a0b6f1c349e6a84

You can find the patch at 
https://lore.kernel.org/batman/?q=patchid:8d01950de12c8f4715e9f4723a0b6f1c349e6a84

And in this patch ("batman-adv: stop caching unowned originator pointers in 
BAT IV") removes the B.A.T.M.A.N. IV part.

Regards,
	Sven
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQS81G/PswftH/OW8cVND3cr0xT1ywUCafrpaAAKCRBND3cr0xT1
ywuyAQCyzY/LQ2+G2QSiPMfbm+Ply+KfDKWpH1BdicnY4/eT0AD/RY8qcV2Ss6Q7
3povFY8DU0Srrr/QkiF0VzPSQSg9SQs=
=zlh1
-----END PGP SIGNATURE-----