Having a central gc in the ctx was definitely less overhead than
create/destroy a local gc for every single call (v1) - but using the
already-existing argv.gc is a nice way to circumstep the whole topic ;-)
Tested via t_client on a Linux build with --enable-iproute2, which
nicely excercises all these code paths.
Definitely not a bugfix or user visible enhancement, so not 2.7.
Your patch has been applied to the master branch.
commit 612c2203b19d58de952b65d0a1860487dc7e00c6 (master)
Author: Arne Schwabe
Date: Fri Nov 6 14:10:39 2026 +0100
Move gc from openvpn_net_ctx_t to local variables
Signed-off-by: Arne Schwabe <[email protected]>
Acked-by: Gert Doering <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2105
Message-Id: <[email protected]>
URL:
https://lore.kernel.org/openvpn-devel/[email protected]
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