From: "flichtenheld (Code Review)" Date: Wed, 18 Mar 2026 10:21:01 +0000 In-Reply-To: References: Reply-To: frank@...2641..., arne-openvpn@...1227..., gianmarco@...2726..., openvpn-devel@lists.sourceforge.net Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="K64APB8GIuQ="; 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: plaisthos , openvpn-devel --K64APB8GIuQ= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: its_Giaan, plaisthos. flichtenheld has posted comments on this change by its_Giaan. ( http://gerr= it.openvpn.net/c/openvpn/+/1521?usp=3Demail ) Change subject: Add support for user defined network namespace ...................................................................... Patch Set 4: Code-Review-1 (13 comments) File src/openvpn/networking_sitnl.c: http://gerrit.openvpn.net/c/openvpn/+/1521/comment/4314739e_2d4bc1d9?usp=3D= email : PS4, Line 771: if (ret < 0) Redundant code. http://gerrit.openvpn.net/c/openvpn/+/1521/comment/bdeed08b_be6f179c?usp=3D= email : PS4, Line 819: if (ret < 0) redundant code http://gerrit.openvpn.net/c/openvpn/+/1521/comment/dd19d5b9_09ff231b?usp=3D= email : PS4, Line 1137: netns_restore(orig); instead just move the code around so the switch happens after the check http://gerrit.openvpn.net/c/openvpn/+/1521/comment/efa59517_408ec8ff?usp=3D= email : PS4, Line 1169: if (ret < 0) redundant code http://gerrit.openvpn.net/c/openvpn/+/1521/comment/eb0d21db_0305708b?usp=3D= email : PS4, Line 1211: netns_restore(orig); restore needs to be after err: http://gerrit.openvpn.net/c/openvpn/+/1521/comment/c1f79458_0f7d935d?usp=3D= email : PS4, Line 1247: netns_restore(orig); restore needs to be after err: http://gerrit.openvpn.net/c/openvpn/+/1521/comment/dcedc153_51d7fe41?usp=3D= email : PS4, Line 1283: netns_restore(orig); move the netns_switch to after the parameter checks http://gerrit.openvpn.net/c/openvpn/+/1521/comment/37b3e127_ecd5e4c8?usp=3D= email : PS4, Line 1321: netns_restore(orig); needs to be after err: http://gerrit.openvpn.net/c/openvpn/+/1521/comment/2da76258_bc75db17?usp=3D= email : PS4, Line 1416: netns_restore(orig); move switch to after parameter check http://gerrit.openvpn.net/c/openvpn/+/1521/comment/37f50a5e_1a48206b?usp=3D= email : PS4, Line 1464: netns_restore(orig); after err: http://gerrit.openvpn.net/c/openvpn/+/1521/comment/20b0928d_d826d6f3?usp=3D= email : PS4, Line 1952: netns_restore(orig); restore before switch http://gerrit.openvpn.net/c/openvpn/+/1521/comment/a4d99beb_485b5051?usp=3D= email : PS4, Line 1969: if (ret < 0) redundant code File src/openvpn/options.c: http://gerrit.openvpn.net/c/openvpn/+/1521/comment/6eeabe14_8951b5a9?usp=3D= email : PS4, Line 6468: msg(M_WARN, "NOTE: --netns is supported only on Lin= ux when compiled with SITNL"); I would go for "SITNL support" -- 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: 4 Gerrit-Owner: its_Giaan Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: its_Giaan Gerrit-Comment-Date: Wed, 18 Mar 2026 10:21:01 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes --K64APB8GIuQ= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: its_Giaan, plaisthos.

Patch set 4:Code-Review -1=

V= iew Change

13 comments:

To view, visit change 1521. To un= subscribe, 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: 4
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: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: its_Giaan <gianmarco@...1665...= 726...>
Gerrit-Comment-Date: Wed, 18 Mar 2026 10:21:01= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
= --K64APB8GIuQ=--