This was quite a hunt... for an "it looks trivial" 1-liner ;-)
Your patch has been applied to the master and release/2.6 branch (bugfix)
(slight massaging needed because someone has renamed "socket" to
"out_socket", so the check going away looks different - but did the
same thing, and had the same bug. Unsurprising, as this was day#1 DCO
code from before 2.6.0...)
Note that this commit does not close the GH issue yet - the original
"why does it crash on me?" bug has been fixed, but the resulting code
is still not appealing to my sensitivities.
Note2: this does not apply to Windows, because win-dco signals things
differently ("we get timeout notification from driver via error on
pending read request").
commit 52c3b435b11e6daf7f3f9524ff801ba285c1d985 (master)
commit fae4a9e3f51554bdecc9df45344135006da1f0d9 (release/2.6)
Author: Gert Doering
Date: Wed Jan 14 12:23:49 2026 +0100
Repair interaction between DCO and persist-tun after reconnection
Signed-off-by: Gert Doering <[email protected]>
Acked-by: Antonio Quartulli <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1473
Message-Id: <[email protected]>
URL:
https://www.mail-archive.com/[email protected]/msg35239.html
Signed-off-by: Gert Doering <[email protected]>
--
kind regards,
Gert Doering
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel