From: "cron2 (Code Review)" Date: Thu, 20 Feb 2025 07:23:04 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641..., lstipakov@...277... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="oUbIq5nKIpw="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: dco-win: kernel notifications List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: stipa Cc: plaisthos , flichtenheld , openvpn-devel --oUbIq5nKIpw= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos, stipa. cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/ope= nvpn/+/816?usp=3Demail ) Change subject: dco-win: kernel notifications ...................................................................... Patch Set 20: Code-Review+1 (4 comments) Patchset: PS20: the code looks good and the tests confirm "it works". I have a few minor n= its, though. File src/openvpn/dco_win.c: http://gerrit.openvpn.net/c/openvpn/+/816/comment/5d25f041_1b79d04b : PS20, Line 644: dco_handle_overlapped_success(dco_context_t *dco, bool queu= ed) can you add a comment what this function does? As a non-windows programmer= I find `Overlapped` a foreign concept File src/openvpn/mudp.c: http://gerrit.openvpn.net/c/openvpn/+/816/comment/d7e9b590_0c316b58 : PS20, Line 409: #if defined(ENABLE_DCO) && (defined(TARGET_LINUX) || define= d(TARGET_FREEBSD) || defined(TARGET_WIN32)) this is a minor nitpick, but I find this line very long and hard to read no= w - can you wrap it? ``` #if defined(ENABLE_DCO) \ && (defined(TARGET_LINUX) || defined(TARGET_FREEBSD) || defined(TARGET_= WIN32)) ``` File src/openvpn/multi.c: http://gerrit.openvpn.net/c/openvpn/+/816/comment/3e9bcdb0_2f4ec1a0 : PS20, Line 3231: #if defined(ENABLE_DCO) && (defined(TARGET_LINUX) || defin= ed(TARGET_FREEBSD) || defined(TARGET_WIN32)) same thing -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/816?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Iedc10616225f6769c66d3c29d4a462b622ebbc6e Gerrit-Change-Number: 816 Gerrit-PatchSet: 20 Gerrit-Owner: stipa Gerrit-Reviewer: cron2 Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Attention: stipa Gerrit-Comment-Date: Thu, 20 Feb 2025 07:23:04 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Gerrit-MessageType: comment --oUbIq5nKIpw= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld, plaisthos, stipa. <= /p>

Patch set 20:Code-Review +1

V= iew Change

4 comments:

  • Patchset:

    • Patch Set #20:

      the code looks good and the tests confirm &= quot;it works". I have a few minor nits, though.

  • File src/openvpn/dco_win.c:

    • Patch Set #20, Line 644:= dco_handle_overlapped_succ= ess(dco_context_t *dco, bool queued)

      can you add a comment what this function doe= s? As a non-windows programmer I find `Overlapped` a foreign concept

  • File src/openvpn/mudp.= c:

    • Patch Set #20, L= ine 409: #if defined(EN= ABLE_DCO) && (defined(TARGET_LINUX) || defined(TARGET_FREEBSD) || d= efined(TARGET_WIN32))

      this is a minor nitpick, but I find this line very long and= hard to read now - can you wrap it?

      ```
      #if defined(ENABLE_DCO) \
      = && (defined(TARGET_LINUX) || defined(TARGET_FREEBSD) || defined(T= ARGET_WIN32))
      ```
  • File src/openvpn/multi.c:

    • Patch Set #20, Line 3231: #if defined(ENABLE_DCO) && (defined(TARGET_LINUX) |= | defined(TARGET_FREEBSD) || defined(TARGET_WIN32))

      same thing

  • =

To view, visit change 816. To unsubscribe, or for help writing mail filt= ers, visit settings.

=
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Iedc10616225f6769c66d3c29d4a= 462b622ebbc6e
Gerrit-Change-Number: 816
Gerrit-PatchSet: 20
Gerrit-Owner: stipa <lstipakov@...277...>= ;
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
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: flichtenheld <frank@...2375...= 41...>
Gerrit-Attention: stipa <lstipakov@...1663...= .>
Gerrit-Comment-Date: Thu, 20 Feb 2025 07:23:04= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
--oUbIq5nKIpw=--