From: "cron2 (Code Review)" Date: Wed, 29 Oct 2025 06:52:59 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="Ta+j3+MM9lo="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: Fix logic when pushed cipher triggers tun reopen and ignore more options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: flichtenheld , openvpn-devel --Ta+j3+MM9lo= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos. cron2 has posted comments on this change by plaisthos. ( http://gerrit.open= vpn.net/c/openvpn/+/1321?usp=3Demail ) Change subject: Fix logic when pushed cipher triggers tun reopen and ignore= more options ...................................................................... Patch Set 1: Code-Review+2 (1 comment) Patchset: PS1: > welcome to openvpn logic. link-mtu and tun-mtu are mutally exclusive. [= =E2=80=A6] Right, this is why the code should check for `link_mtu_defined` and not `tu= n_mtu_defined`. Right? `if (cipher && !link_mtu_defined) { skip this }`. But you're right, I misread this - `tun_mtu_defined` implies `!link_mtu_def= ined`, so while I find the other one easier to follow ("if link_mtu defined= , tun_mtu is derived from cipher etc.") the code is correct. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1321?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: comment Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I76eb584024610a6054a069340adbac988abf686c Gerrit-Change-Number: 1321 Gerrit-PatchSet: 1 Gerrit-Owner: plaisthos Gerrit-Reviewer: cron2 Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Wed, 29 Oct 2025 06:52:59 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Comment-In-Reply-To: plaisthos Comment-In-Reply-To: cron2 --Ta+j3+MM9lo= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: flichtenheld, plaisthos.

Patch set 1:Code-Review +2=

V= iew Change

1 comment:

  • Patchset:

    • Patch Set #1:

      = welcome to openvpn logic. link-mtu and tun-mtu are mutally exclusive. [=E2= =80=A6]

      Right, this is why the code should check for `link= _mtu_defined` and not `tun_mtu_defined`. Right? `if (cipher && !l= ink_mtu_defined) { skip this }`.

      But you're right, I misread this -= `tun_mtu_defined` implies `!link_mtu_defined`, so while I find the other o= ne easier to follow ("if link_mtu defined, tun_mtu is derived from cip= her etc.") the code is correct.

To view, vis= it chang= e 1321. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I76eb584024610a6054a069340ad= bac988abf686c
Gerrit-Change-Number: 1321
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Comment-Date: Wed, 29 Oct 2025 06:52:59= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: plaisthos <arne-openvp= n@...1227...>
Comment-In-Reply-To: cron2 <gert@...1296...= >
= --Ta+j3+MM9lo=--