From: "ordex (Code Review)"
Date: Sat, 18 Oct 2025 21:29:34 +0000
In-Reply-To:
References:
Reply-To: antonio@...2726..., arne-openvpn@...1227...,
openvpn-devel@lists.sourceforge.net, ralf@...2726..., frank@...2641...,
gert@...1296...
Message-ID: <511bee86dcc353c89fcd495cc482c52e713a95e7-EmailReviewComments-HTML@...2715...>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="Z2X9wf+TbJU="; charset=UTF-8
Subject: [Openvpn-devel] [XS] Change in openvpn[master]: dco-freebsd: store
peer stats directly in c2
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
To: ralf_lici
Cc: plaisthos , flichtenheld , openvpn-devel
--Z2X9wf+TbJU=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: flichtenheld, plaisthos, ralf_lici.
ordex has posted comments on this change by ralf_lici. ( http://gerrit.open=
vpn.net/c/openvpn/+/1275?usp=3Demail )
Change subject: dco-freebsd: store peer stats directly in c2
......................................................................
Patch Set 2:
(1 comment)
File src/openvpn/dco_freebsd.c:
http://gerrit.openvpn.net/c/openvpn/+/1275/comment/eaa99283_eaf32505?usp=3D=
email :
PS2, Line 625: dco->c->c2.dco_write_bytes =3D nvlist_get_nu=
mber(bytes, "out");
> I don't think this is the correct place to store these. [=E2=80=A6]
actually if you check `dco_update_peer_stat()` it already does the right th=
ing, similarly to what Gert is alluding to. Maybe this function can be re-u=
sed while parsing `OVPN_NOTIF_DEL_PEER`?
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1275?usp=3Demail
To unsubscribe, or for help writing mail filters, visit http://gerrit.openv=
pn.net/settings?usp=3Demail
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I53dd40fabdeacb9dca843e28fdd3b357711c5a84
Gerrit-Change-Number: 1275
Gerrit-PatchSet: 2
Gerrit-Owner: ralf_lici
Gerrit-Reviewer: cron2
Gerrit-Reviewer: flichtenheld
Gerrit-Reviewer: plaisthos
Gerrit-CC: openvpn-devel
Gerrit-CC: ordex
Gerrit-Attention: plaisthos
Gerrit-Attention: flichtenheld
Gerrit-Attention: ralf_lici
Gerrit-Comment-Date: Sat, 18 Oct 2025 21:29:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: cron2
--Z2X9wf+TbJU=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is cur=
rently required from: flichtenheld, plaisthos, ralf_lici.
View =
Change
1 comment:
actually if you check `d=
co_update_peer_stat()` it already does the right thing, similarly to what G=
ert is alluding to. Maybe this function can be re-used while parsing `OVPN_=
NOTIF_DEL_PEER`?
To view, visit change 1275. To unsub=
scribe, or for help writing mail filters, visit settings.
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I53dd40fabdeacb9dca843e28fdd=
3b357711c5a84
Gerrit-Change-Number: 1275
Gerrit-PatchSet: 2
Gerrit-Owner: ralf_lici <ralf@...2726...>=
;
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-CC: ordex <antonio@...2726...> =
div>
Gerrit-Attention: plaisthos <arne-openvpn@...220...=
..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...=
41...>
Gerrit-Attention: ralf_lici <ralf@...2804...=
.>
Gerrit-Comment-Date: Sat, 18 Oct 2025 21:29:34=
+0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: cron2 <gert@...1296...=
>
=
--Z2X9wf+TbJU=--