vmix.nix/nixos/networks
Git Sagar 2f8925d439 fix: race in parallel wan veth creation cross-wiring namespaces
All wan.net.vmix@* instances created their veth pair with the same
temporary peer name 'vhost' in the host namespace before moving it into
their netns. Parallel starts at boot could steal each other's peer ends,
pairing a host-side vn-<ns> with another namespace's vhost (mismatched
/30s, dead links) or leaving the pair stranded in the host namespace.

Use a per-namespace temporary name (vh-<ns>) and rename to vhost only
after the move, making concurrent creation collision-free.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-23 20:23:54 -03:00
..
config.nix fix: race in parallel wan veth creation cross-wiring namespaces 2026-07-23 20:23:54 -03:00
default.nix sync with labv2.nix + standalone flake with toDisk app 2026-05-23 19:18:10 -03:00
options.nix sync with labv2.nix + standalone flake with toDisk app 2026-05-23 19:18:10 -03:00