Re: [Openvpn-devel] [PATCH ovpn net v6 3/6] ovpn: initialize TCP state before registering UAPI

Antonio Quartulli <[email protected]>
Newsgroups net.sourceforge.lists.openvpn-devel
Message-ID <[email protected]>
Hi,

On 29/07/2026 12:21, Ralf Lici wrote:
> ovpn_tcp_init initializes the TCP proto and proto_ops templates used
> when a TCP socket is attached to an ovpn peer, but ovpn_init registers
> the generic netlink family before initializing those templates. Once the
> family is visible, userspace can create an ovpn device and configure a
> TCP socket while the TCP templates are still zero-initialized.
> 
> Initialize the TCP templates before publishing the netlink interfaces,
> so externally reachable setup paths can only observe initialized TCP
> state.
> 
> Fixes: 11851cbd60ea ("ovpn: implement TCP transport")
> Signed-off-by: Ralf Lici <[email protected]>

This patch was dropped in favour of another patch of mine which was 
basically colliding on the same change.

The mentioned patch has already landed in net.

Regards,


-- 
Antonio Quartulli



_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.