Re: [Openvpn-devel] [PATCH v2 1/3] Move dco_installed from sock->info to sock->info.lsa.actual

2022-12-05 Thread Gert Doering
Hi, On Tue, Nov 01, 2022 at 11:21:40AM +0200, Lev Stipakov wrote: > > @@ -1190,7 +1190,7 @@ link_socket_write(struct link_socket *sock, > >struct buffer *buf, > >struct link_socket_actual *to) > > { > > -if (proto_is_udp(sock->info.proto) || sock->info.

Re: [Openvpn-devel] [PATCH v2 1/3] Move dco_installed from sock->info to sock->info.lsa.actual

2022-11-23 Thread Gert Doering
Hi, On Wed, Oct 26, 2022 at 06:45:22PM +0200, Arne Schwabe wrote: > For tcp this makes no difference as the remote address of the > socket never changes. For udp this allows OpenVPN to differentiate > if a reconnecting client is using the same address as before or > from a different one. This allo

Re: [Openvpn-devel] [PATCH v2 1/3] Move dco_installed from sock->info to sock->info.lsa.actual

2022-11-23 Thread Antonio Quartulli
Hi, On 26/10/2022 18:45, Arne Schwabe wrote: For tcp this makes no difference as the remote address of the socket never changes. For udp this allows OpenVPN to differentiate if a reconnecting client is using the same address as before or from a different one. This allow sending via the normal us

Re: [Openvpn-devel] [PATCH v2 1/3] Move dco_installed from sock->info to sock->info.lsa.actual

2022-11-01 Thread Lev Stipakov
Hi, > @@ -1190,7 +1190,7 @@ link_socket_write(struct link_socket *sock, >struct buffer *buf, >struct link_socket_actual *to) > { > -if (proto_is_udp(sock->info.proto) || sock->info.dco_installed) > +if (proto_is_udp(sock->info.proto) || to->dco_inst

[Openvpn-devel] [PATCH v2 1/3] Move dco_installed from sock->info to sock->info.lsa.actual

2022-10-26 Thread Arne Schwabe
For tcp this makes no difference as the remote address of the socket never changes. For udp this allows OpenVPN to differentiate if a reconnecting client is using the same address as before or from a different one. This allow sending via the normal userspace socket in that case. Patch v2: fix wind