From: "cron2 (Code Review)" Date: Fri, 2 May 2025 20:35:00 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., gianmarco@...2726..., openvpn-devel@lists.sourceforge.net, frank@...2641..., antonio@...2726... Message-ID: <442fb6e065f57538e7e7de694e0acdf093ee68c4-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="8Qh1vtCv4VY="; charset=UTF-8 Subject: [Openvpn-devel] [L] Change in openvpn[master]: dco_linux: Introduce new uAPIs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: its_Giaan Cc: plaisthos , flichtenheld , openvpn-devel --8Qh1vtCv4VY= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, its_Giaan, ordex, plais= thos. cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/ope= nvpn/+/941?usp=3Demail ) Change subject: dco_linux: Introduce new uAPIs ...................................................................... Patch Set 4: Code-Review-1 (5 comments) Patchset: PS4: Overall it looks relatively straightforward, with most of the changes just = replacing one define with another - easy enough. Testing to come. There are a few changes that break the style of this module, and I see no s= trong reason why these are done, so -1 for now. File src/openvpn/dco_linux.c: http://gerrit.openvpn.net/c/openvpn/+/941/comment/006d280c_8ba3e1fe : PS4, Line 547: return -1; this change looks unneccessary? http://gerrit.openvpn.net/c/openvpn/+/941/comment/91377007_60a5d367 : PS4, Line 574: } same here... the code style with "one common free()/return at the end" is k= ept in other places (like dco_del_key()), so why change it here, and in a d= ifferent style than in dco_swap_keys()? http://gerrit.openvpn.net/c/openvpn/+/941/comment/ed9e335b_8afd8a97 : PS4, Line 591: keyconf =3D nla_nest_start(nl_msg, OVPN_A_KEYCONF); why wrap differently, and not keep `struct nlattr * nla_nest_start()...`? = Line too long? http://gerrit.openvpn.net/c/openvpn/+/941/comment/333dacb6_0b189629 : PS4, Line 860: case OVPN_CMD_KEY_SWAP_NTF: what is KEY_SWAP_NTF? That's a new thing :-) -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/941?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: I009f4e7ad38636f1c0b78d267561194c2bb4c051 Gerrit-Change-Number: 941 Gerrit-PatchSet: 4 Gerrit-Owner: its_Giaan Gerrit-Reviewer: cron2 Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: ordex Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: its_Giaan Gerrit-Attention: flichtenheld Gerrit-Attention: ordex Gerrit-Comment-Date: Fri, 02 May 2025 20:35:00 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Gerrit-MessageType: comment --8Qh1vtCv4VY= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld, its_Giaan, ordex, p= laisthos.

Patch set 4:Code-Review -1=

Vi= ew Change

5 comments:

  • Patchset:

    • Patch Set #4:

      Overall it looks relatively straightforward, = with most of the changes just replacing one define with another - easy enou= gh. Testing to come.

      There are a few changes that break the style of this module, and I= see no strong reason why these are done, so -1 for now.

  • =
  • File src/openvpn/dco_linux.c:

  • Patch Set #4, Line 547:<= /a> return -1;

    this change lo= oks unneccessary?

  • Patch Set #4, Line 574: }

    same here... the code style with "one= common free()/return at the end" is kept in other places (like dco_de= l_key()), so why change it here, and in a different style than in dco_swap_= keys()?

  • Patch Set #4, Line 591: keyconf =3D nla_nest_start(nl_msg, OVPN_A_KEY= CONF);

    why wrap differently, and not keep `struct nlattr * nla_nest_start()...`? = Line too long?

  • Patch Set #4, Line 860: case OVPN_CMD_KEY_SWAP_NTF:

    what is KEY= _SWAP_NTF? That's a new thing :-)

To view, v= isit chan= ge 941. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I009f4e7ad38636f1c0b78d26756= 1194c2bb4c051
Gerrit-Change-Number: 941
Gerrit-PatchSet: 4
Gerrit-Owner: its_Giaan <gianmarco@...2786...= ..>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: ordex <antonio@...2726...&= gt;
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: its_Giaan <gianmarco@...1665...= 726...>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Attention: ordex <antonio@...2726...= >
Gerrit-Comment-Date: Fri, 02 May 2025 20:35:00= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
--8Qh1vtCv4VY=--