]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Use undo_lists for saving ring-buffer handles in interactive service
authorSelva Nair <selva.nair@gmail.com>
Thu, 29 Dec 2022 18:27:38 +0000 (13:27 -0500)
committerGert Doering <gert@greenie.muc.de>
Sat, 31 Dec 2022 09:12:35 +0000 (10:12 +0100)
commit6ea9cf8146b1d72aa6a4790bc3ac2b99562b2cac
tree839ba16598d3d1ca95e171cd477a023183af4be3
parent64f8833e119e31cf01dfe198538fbb5566fabf8f
Use undo_lists for saving ring-buffer handles in interactive service

HandleRegisterRingBuffers() in interactive.c did not follow the
the original API of HandleMessage(): a new argument was added
to HandleMessage to pass-in prer-process ring-buffer handles. The
existing undo lists argument is meant for such use.

Rewrite following the original design.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
Acked-by: Lev Stipakov <lstipakov@gmail.com>
Message-Id: <20221229182739.1477336-1-selva.nair@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg25864.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpnserv/interactive.c