From: "plaisthos (Code Review)" Date: Tue, 17 Mar 2026 11:42:16 +0000 In-Reply-To: References: Reply-To: arne-openvpn@...1227..., gianmarco@...2726..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <73d11b0dc3b3762059cd40e0dce62ef03b94a3b9-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="Y6cYsRG8T2g="; charset=UTF-8 Subject: [Openvpn-devel] [L] Change in openvpn[master]: Add support for user defined network namespace List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: its_Giaan Cc: flichtenheld , openvpn-devel --Y6cYsRG8T2g= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: its_Giaan. plaisthos has posted comments on this change by its_Giaan. ( http://gerrit.= openvpn.net/c/openvpn/+/1521?usp=3Demail ) Change subject: Add support for user defined network namespace ...................................................................... Patch Set 3: (1 comment) File src/openvpn/networking_sitnl.c: http://gerrit.openvpn.net/c/openvpn/+/1521/comment/bc95d175_56010af8?usp=3D= email : PS3, Line 638: SITNL_ADDATTR(&req.n, sizeof(req), IFLA_TARGET_NETNSID, = &netnsid, 4); > Yes, sizeof(int) =3D=3D 4, but do we need to hard-code this here? [=E2=80= =A6] I think we should seriously consider adding functions that are type like SI= TNL_ADDATTR_U32 and so on to avoid the issue entirely. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1521?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: I8b0d1cad7062856abcc40c4e16ec93b45295bbd3 Gerrit-Change-Number: 1521 Gerrit-PatchSet: 3 Gerrit-Owner: its_Giaan Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: its_Giaan Gerrit-Comment-Date: Tue, 17 Mar 2026 11:42:16 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: flichtenheld --Y6cYsRG8T2g= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: its_Giaan.

View = Change

1 comment:

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

    • Patc= h Set #3, Line 638: = SITNL_ADDATTR(&req.n, sizeof(req), IFLA_TARGET_NETNSID, &netnsid, = 4);

      Yes, sizeof(int) =3D=3D 4, but do we need to hard= -code this here? [=E2=80=A6]

      I think we should seriously c= onsider adding functions that are type like SITNL_ADDATTR_U32 and so on to = avoid the issue entirely.

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

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I8b0d1cad7062856abcc40c4e16e= c93b45295bbd3
Gerrit-Change-Number: 1521
Gerrit-PatchSet: 3
Gerrit-Owner: its_Giaan <gianmarco@...2786...= ..>
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: its_Giaan <gianmarco@...1665...= 726...>
Gerrit-Comment-Date: Tue, 17 Mar 2026 11:42:16= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: flichtenheld <frank@...1186...= .2641...>
= --Y6cYsRG8T2g=--