This is a bugfix for something that was discovered in the ramp-up of
commit c482c663506d - r->table_id is not initialized in this branch,
and inherits "random stack garbage". The other hunks touched in said
commit (in add/del_route3()) do not need a fix, as the route is CLEAR()ed
there.
Arguably we could do "ALLOC_OBJ_CLEAR()" here instead... but this does the
job (and master wants "-1" there anyway, not 0).
Backporting to 2.6 is not needed because there is no "route table ID"
handling in 2.6 - so the uninitialized member of "struct route_ipv4" does
not exist yet.
Your patch has been applied to the release/2.7 branch.
commit fb4ef462b3e88579aac06ae13c6144018768d120
Author: Razvan Cojocaru
Date: Sat Nov 21 15:48:45 2026 +0100
route: initialize the table of block-local routes
Signed-off-by: Razvan Cojocaru <[email protected]>
Acked-by: Gert Doering <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2227
Message-Id: <[email protected]>
URL:
https://www.mail-archive.com/[email protected]/msg41757.html
Signed-off-by: Gert Doering <[email protected]>
--
kind regards,
Gert Doering
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel