From: "cron2 (Code Review)" Date: Mon, 23 Sep 2024 15:18:55 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <7ffdd4cd208ee0e7aa447a0f97da20e6527d98b3-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="WwY6W/qo++E="; charset=UTF-8 Subject: [Openvpn-devel] [L] Change in openvpn[master]: Introduce DRIVER_AFUNIX backend for use with lwipovpn List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: flichtenheld , openvpn-devel --WwY6W/qo++E= 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. ( http://gerrit.openvpn.net/c/ope= nvpn/+/747?usp=3Demail ) Change subject: Introduce DRIVER_AFUNIX backend for use with lwipovpn ...................................................................... Patch Set 10: Code-Review-1 (8 comments) Patchset: PS10: I haven't seen any hard show-stopper, but a few minor nags... File src/openvpn/dco.c: http://gerrit.openvpn.net/c/openvpn/+/747/comment/df7a0350_ee091375 : PS10, Line 306: return false; blank missing, and I would not wrap a single word File src/openvpn/forward.c: http://gerrit.openvpn.net/c/openvpn/+/747/comment/f9ab8f69_a3d074cf : PS10, Line 1325: c->c2.buf.len =3D tun_afunix_read(c->c1.tuntap, BP= TR(&c->c2.buf), c->c2.frame.buf.payload_size); the monk in me complains that `read_tun()` should be paired with `read_tun_= afunix()`... but that is minor http://gerrit.openvpn.net/c/openvpn/+/747/comment/6ded27c5_58f53265 : PS10, Line 1939: size =3D tun_afunix_write(c->c1.tuntap, BPTR(&= c->c2.to_tun), BLEN(&c->c2.to_tun)); see above ;-) File src/openvpn/init.c: http://gerrit.openvpn.net/c/openvpn/+/747/comment/57540e5b_f2836507 : PS10, Line 2060: tun_afunix_close(c->c1.tuntap); you are using `open_tun_afunix()` for `open_tun()`, so this really should b= e `close_tun_afunix()` then... File src/openvpn/run_command.h: http://gerrit.openvpn.net/c/openvpn/+/747/comment/c06210e8_581e4f52 : PS10, Line 52: #define S_NOWAITPID (1<<3) the indenting here looks like one is using tab, one is using spaces File src/openvpn/tun_afunix.c: http://gerrit.openvpn.net/c/openvpn/+/747/comment/57db59bc_b1c8c8db : PS10, Line 39: #if defined(AF_UNIX) && !defined(WIN32) I do wonder if the conditional on `AF_UNIX` is really needed (here and else= where). All OSes we support have AF_UNIX sockets... http://gerrit.openvpn.net/c/openvpn/+/747/comment/50341699_b37fbb94 : PS10, Line 125: should we `wait()`? Or are we handling SIGCHLD elsewhere? -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/747?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: I65099ef00822d08fd3f5480c80892f3bf86c56e7 Gerrit-Change-Number: 747 Gerrit-PatchSet: 10 Gerrit-Owner: plaisthos Gerrit-Reviewer: cron2 Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Comment-Date: Mon, 23 Sep 2024 15:18:55 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Gerrit-MessageType: comment --WwY6W/qo++E= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld, plaisthos.

Patch set 10:Code-Review -1

V= iew Change

8 comments:

To view, visit change 747. To unsubscribe,= or for help writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I65099ef00822d08fd3f5480c808= 92f3bf86c56e7
Gerrit-Change-Number: 747
Gerrit-PatchSet: 10
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: Mon, 23 Sep 2024 15:18:55= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
--WwY6W/qo++E=--