diff options
| author | Antonio Quartulli <antonio@mandelbit.com> | 2026-09-11 13:38:54 +0200 |
|---|---|---|
| committer | Antonio Quartulli <antonio@mandelbit.com> | 2026-09-11 13:38:54 +0200 |
| commit | 21c86f974e764087b0afef9c95b16372ae05fcad (patch) | |
| tree | f1181b595a2001c07806421612e72b8fdf61318c /scripts/build-kernel | |
| parent | af59a46a1a9ae7b7143b4be183b48301c4f81d36 (diff) | |
| download | vyos-build-21c86f974e764087b0afef9c95b16372ae05fcad.tar.gz vyos-build-21c86f974e764087b0afef9c95b16372ae05fcad.zip | |
openvpn: T8264: adopt a pre-created DCO interface properly
VyOS creates the "ovpn" device whenever the daemon cannot - a client whose
server is not reachable yet never opens its tun - so OpenVPN has to adopt a
device it did not make. It takes the device but not its ifindex today, so
dco_new_peer() fails, the daemon exits and deletes the interface on its way
out. systemd starts it again and the second attempt creates a device of its
own, which hides the whole thing behind a tunnel that does come up.
Carry Ralf's fix until it is released: it resolves the ifindex on the
-EEXIST path, refuses a device whose operating mode does not match, and
leaves a pre-existing interface alone on close.
https://gerrit.openvpn.net/c/openvpn/+/1734 (patchset 2)
Diffstat (limited to 'scripts/build-kernel')
0 files changed, 0 insertions, 0 deletions
