Most of this is really straightforward.

The "int64_t" for register_activity() seems a bit excessive ("we know
that whatever comes back there will not be larger than 1 IP packet, so
64kbytes max...") - but then, this is all inlined, and the compiler can
do whatever his integer rules make it feel happy, and efficient.

Your patch has been applied to the master branch.

commit ea2f8ef6fa19e7619e3dc2e7addc1a067f472abc
Author: Frank Lichtenheld
Date:   Wed Nov 26 12:40:40 2025 +0100

     error: Allow status argument to check_status to be ssize_t

     Signed-off-by: Frank Lichtenheld <[email protected]>
     Acked-by: Gert Doering <[email protected]>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1357
     Message-Id: <[email protected]>
     URL: 
https://www.mail-archive.com/[email protected]/msg34701.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

Reply via email to