From: "cron2 (Code Review)" Date: Fri, 24 Jan 2025 21:20:48 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., gianmarco@...2726..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <144ce2d9ea4b1d3e24291481bfa597b128ef8288-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="93+Z6lKS+SA="; charset=UTF-8 Subject: [Openvpn-devel] [L] Change in openvpn[master]: Add support for simultaneous use of UDP and TCP sockets List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: its_Giaan Cc: flichtenheld , plaisthos , openvpn-devel --93+Z6lKS+SA= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: its_Giaan, plaisthos. cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/ope= nvpn/+/764?usp=3Demail ) Change subject: Add support for simultaneous use of UDP and TCP sockets ...................................................................... Patch Set 17: (4 comments) Patchset: PS17: some first comments and questions File src/openvpn/forward.c: http://gerrit.openvpn.net/c/openvpn/+/764/comment/65aa7624_6dd5ee39 : PS17, Line 2471: spurious new line File src/openvpn/mtcp.c: http://gerrit.openvpn.net/c/openvpn/+/764/comment/2164b42d_ffbff47e : PS17, Line 57: if (mi && !proto_is_dgram(ls->info.proto)) why would this be called for an UDP packet in the first place, that is, why= is that check necessary? http://gerrit.openvpn.net/c/openvpn/+/764/comment/c70f7c01_8761d3d9 : PS17, Line 156: if (proto_is_dgram(mi->context.c2.link_sockets[0]->= info.proto)) same here: why is this check necessary? Who calls a `_tcp_` function for U= DP packets, and why? -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/764?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: I31bbf87e4e568021445c7512ecefadfd4a69b363 Gerrit-Change-Number: 764 Gerrit-PatchSet: 17 Gerrit-Owner: its_Giaan Gerrit-Reviewer: cron2 Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: its_Giaan Gerrit-Comment-Date: Fri, 24 Jan 2025 21:20:48 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment --93+Z6lKS+SA= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: its_Giaan, plaisthos.

View C= hange

4 comments:

    =
  • Patchset:

    <= /li>
  • File src/openvpn/forward.c:

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

    • Patch Set #17, Li= ne 57: if (mi &= & !proto_is_dgram(ls->info.proto))

      why would this be called for an UDP pac= ket in the first place, that is, why is that check necessary?

    • <= a href=3D"http://gerrit.openvpn.net/c/openvpn/+/764/comment/c70f7c01_8761d3= d9">Patch Set #17, Line 156: if (proto_is_dgram(mi->context.c2.link_sockets[0]->info= .proto))

      same here: why is this check necessary? Who calls a `_tcp_` function fo= r UDP packets, and why?

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

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I31bbf87e4e568021445c7512ece= fadfd4a69b363
Gerrit-Change-Number: 764
Gerrit-PatchSet: 17
Gerrit-Owner: its_Giaan <gianmarco@...2786...= ..>
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: its_Giaan <gianmarco@...1665...= 726...>
Gerrit-Comment-Date: Fri, 24 Jan 2025 21:20:48= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
--93+Z6lKS+SA=--