From: "plaisthos (Code Review)" Date: Thu, 9 Mar 2023 14:32:02 +0000 In-Reply-To: References: Reply-To: arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, lstipakov@...277..., a@...2181... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="RYJrNAOvPyY="; charset=UTF-8 Subject: [Openvpn-devel] [L] Change in openvpn[master]: dco: don't use NetLink to exchange control packets List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: openvpn-devel@lists.sourceforge.net, Lev Stipakov --RYJrNAOvPyY= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: cron2, ordex. plaisthos has posted comments on this change. ( http://gerrit.openvpn.net/c= /openvpn/+/28?usp=3Demail ) Change subject: dco: don't use NetLink to exchange control packets ...................................................................... Patch Set 4: (5 comments) File src/openvpn/forward.c: http://gerrit.openvpn.net/c/openvpn/+/28/comment/247c9792_e7b2c3b6 PS4, Line 1702: */ > hmm I'd add a different working because it is not about where to send con= trol packets, but just chec [=E2=80=A6] Ack File src/openvpn/ovpn_dco_linux.h: http://gerrit.openvpn.net/c/openvpn/+/28/comment/9b1a1741_9fe75f0a PS4, Line 30: OVPN_CMD_NEW_PEER, > nah, adding a field does not break the API. We can add it later as it fix= es a separate issue. Ack File src/openvpn/socket.h: http://gerrit.openvpn.net/c/openvpn/+/28/comment/f7ee8257_3b07557c PS4, Line 1184: /* unified UDPv4 and UDPv6 and DCO (kernel adds siz= e header) */ > again, why do we talk about size header if this is UDP? when we have TCP we need to add the size header but in the DCO case, the ke= rnel does that for us. http://gerrit.openvpn.net/c/openvpn/+/28/comment/97dc5bba_a14de127 PS4, Line 209: #define SF_DCO_WIN (1<<5) > this is Lev's doing :-D [=E2=80=A6] Ack http://gerrit.openvpn.net/c/openvpn/+/28/comment/3f58627e_3e6501af PS4, Line 1069: * will strip the length header */ > I am confused. [=E2=80=A6] Basically in this codepath it is basically more like read_packet_with_heade= r vs read_packet_without_header but we call them udp and tcp here. And ther= efore use the udp path even for tcp when dco is enabled since that header i= s already removed. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/28?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: Ia1297c3ae9a28b188ed21ad21ae96fff3d02ee4d Gerrit-Change-Number: 28 Gerrit-PatchSet: 4 Gerrit-Owner: ordex Gerrit-Reviewer: cron2 Gerrit-Reviewer: plaisthos Gerrit-CC: stipa Gerrit-Attention: cron2 Gerrit-Attention: ordex Gerrit-Comment-Date: Thu, 09 Mar 2023 14:32:02 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: plaisthos Comment-In-Reply-To: ordex Gerrit-MessageType: comment --RYJrNAOvPyY= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: cron2, ordex.

View Ch= ange

5 comments: