From: "cron2 (Code Review)" Date: Fri, 28 Nov 2025 10:37:34 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, ralf@...2726... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="SEsen1DUruI="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: dco: process messages immediately after read List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: ralf_lici Cc: plaisthos , openvpn-devel --SEsen1DUruI= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: plaisthos, ralf_lici. cron2 has posted comments on this change by ralf_lici. ( http://gerrit.open= vpn.net/c/openvpn/+/1403?usp=3Demail ) Change subject: dco: process messages immediately after read ...................................................................... Patch Set 11: Code-Review-2 (1 comment) File src/openvpn/dco_linux.c: http://gerrit.openvpn.net/c/openvpn/+/1403/comment/19628400_49a99e55?usp=3D= email : PS11, Line 1115: break; actually I think this one should stay as it was before (`return ovpn_handle= _peer()`) plus a comment `/* return directly, there are no messages to pass= to *process_incoming_dco() */` or such. Since we no longer clear dco->dco_message_type, every OVPN_CMD_PEER_GET wil= l basically call `multi_process_incoming_dco()` with a repeat of the previo= us message - and if that peer-id is being re-used by a new connect, bad thi= ngs will happen -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1403?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: Iefc251cb4483c0b9fb9d6a5207db4445cd884d52 Gerrit-Change-Number: 1403 Gerrit-PatchSet: 11 Gerrit-Owner: ralf_lici Gerrit-Reviewer: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: ralf_lici Gerrit-Comment-Date: Fri, 28 Nov 2025 10:37:34 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes --SEsen1DUruI= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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

Patch set 11:Code-Review -2

= View Change

1 comment:

  • File src/openvpn/dco_linux.c:<= /p>

    • Patch = Set #11, Line 1115: = break;

      actually I think this one should stay as it was = before (`return ovpn_handle_peer()`) plus a comment `/* return directly, th= ere are no messages to pass to *process_incoming_dco() */` or such.

      Sin= ce we no longer clear dco->dco_message_type, every OVPN_CMD_PEER_GET wil= l basically call `multi_process_incoming_dco()` with a repeat of the previo= us message - and if that peer-id is being re-used by a new connect, bad thi= ngs will happen

To view, visit change 1403. To unsubs= cribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Iefc251cb4483c0b9fb9d6a5207d= b4445cd884d52
Gerrit-Change-Number: 1403
Gerrit-PatchSet: 11
Gerrit-Owner: ralf_lici <ralf@...2726...>= ;
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: ralf_lici <ralf@...2804...= .>
Gerrit-Comment-Date: Fri, 28 Nov 2025 10:37:34= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
= --SEsen1DUruI=--