From: "cron2 (Code Review)" Date: Thu, 6 Mar 2025 14:42:34 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641..., lstipakov@...277... Message-ID: <1e20a91c760215b67aa3fbbb9f65a6d29b1afc07-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="VMpb1pXkwVo="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: Make recursive routing check more fine-grained List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: stipa Cc: plaisthos , flichtenheld , openvpn-devel --VMpb1pXkwVo= 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/+/903?usp=3Demail ) Change subject: Make recursive routing check more fine-grained ...................................................................... Patch Set 1: Code-Review-2 (2 comments) Patchset: PS1: only looked very briefly, but we must avoid doing extra mallocs (gc_arena) = for every single packet File src/openvpn/forward.c: http://gerrit.openvpn.net/c/openvpn/+/903/comment/507ab496_f0c079fb : PS1, Line 1389: struct gc_arena gc =3D gc_new(); this is in the "for every packet" path, so we should not allocate gc_arenas= if we do not need them (which is why it was only in the "print" part so fa= r) -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/903?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: I6841e2f2a85275254a04e2d8ae3defe4420db8f6 Gerrit-Change-Number: 903 Gerrit-PatchSet: 1 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, 06 Mar 2025 14:42:34 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Gerrit-MessageType: comment --VMpb1pXkwVo= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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

Patch set 1:Code-Review -2=

Vi= ew Change

2 comments:

  • Patchset:

    • Patch Set #1:

      only looked very briefly, but we must avoid d= oing extra mallocs (gc_arena) for every single packet

  • File src/openvpn/forward.c:

    • Patch Set #1, Line 1389: = struct gc_arena gc =3D = gc_new();

      this is in the "for every packet" path, so we should not allo= cate gc_arenas if we do not need them (which is why it was only in the &quo= t;print" part so far)

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

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I6841e2f2a85275254a04e2d8ae3= defe4420db8f6
Gerrit-Change-Number: 903
Gerrit-PatchSet: 1
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, 06 Mar 2025 14:42:34= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
--VMpb1pXkwVo=--