References: <20210317160038.25828-1-arne@...1227...> From: Antonio Quartulli Message-ID: <37db2341-3bd5-191e-103e-48895f016c51@...2181...> Date: Wed, 17 Mar 2021 17:30:58 +0100 MIME-Version: 1.0 In-Reply-To: <20210317160038.25828-1-arne@...1227...> Content-Language: en-US Subject: Re: [Openvpn-devel] [PATCH v2 1/3] Move restoring pre pull options to initialising of c2 context List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Arne Schwabe , openvpn-devel@lists.sourceforge.net Hi all, On 17/03/2021 17:00, Arne Schwabe wrote: > We currently delay restoring these options until we actually must > restore them. Since there is no reason to do so apart from the very > minor saving to not have to execute that code when a connection fails, > move them it into the general context_2 initialisation. > > Patch V2: rebase on master. > > Signed-off-by: Arne Schwabe This patch is simply about moving when the pre-pull settings have to be restored. Aims at simplifying the code and make it easier to follow (thanks to the patches that will come later). This patch was reviewed with the Arne's guidance. Acked-by: Antonio Quartulli -- Antonio Quartulli