diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-10-07 19:59:13 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-10-07 19:59:13 +0200 |
| commit | c8d75f88f078c8c2c2a1f6a9a62c937424279d4b (patch) | |
| tree | 2b3cf67a9a08b1daadf30806f49471294715abdf /src/migration-scripts/interfaces | |
| parent | fff4e828d2a7ec1549ca20db30906ff47396e374 (diff) | |
| download | vyos-1x-c8d75f88f078c8c2c2a1f6a9a62c937424279d4b.tar.gz vyos-1x-c8d75f88f078c8c2c2a1f6a9a62c937424279d4b.zip | |
frrender: T9368: reconcile FRR after a DHCP lease without the commit socket
Reconciling the FRR configuration after a DHCP lease event was requested from
the configuration daemon over the socket the commit pipeline uses. The daemon
serves one client at a time and assumes it is the running commit, so
the request either landed in the middle of the handshake which hands over the
configuration, or kept the daemon busy past the 10ms a commit waits for it.
Either way the commit fell back to running the conf-mode scripts directly.
Those never render FRR, only the daemon does, so the commit succeeded while FRR
kept the configuration rendered before it, until the next lease event.
A lease event now renders FRR in its own process, and a commit which could not
use the daemon renders FRR itself instead of skipping the reload. Both take the
same lock. A commit post-hook would remove the second case, for a full render
on every commit.
Diffstat (limited to 'src/migration-scripts/interfaces')
0 files changed, 0 insertions, 0 deletions
