]> 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:15:32 +0000 (10:15 +0100)
commitfc96b8793ca94c23e5dc229aa1455d747cef4766
treeafa6acd8a66ccd4d10daee588c42e7226c713950
parentf87aed6ae2f6c4165b19c00fe4d39c44232cf44e
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>
(cherry picked from commit 6ea9cf8146b1d72aa6a4790bc3ac2b99562b2cac)
src/openvpnserv/interactive.c