talos/internal/app/networkd/pkg
Andrey Smirnov 360d887967 fix: prevent endless loop with DHCP requests in networkd
There were two problems:

* `configureInterfaces` was always failing if interface is already set
up, as the routes already exist

* `renew` was halving the renew interval each time `configureInterface`
fails, which starts at (LeaseTime/2) and goes effectively to zero

This was leading to high networkd CPU usage, storm of DHCP requests on
the network.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-12-01 08:12:12 -08:00
..
address fix: prevent endless loop with DHCP requests in networkd 2020-12-01 08:12:12 -08:00
networkd feat: implement network interfaces list API 2020-11-27 10:48:45 -08:00
nic fix: prevent endless loop with DHCP requests in networkd 2020-12-01 08:12:12 -08:00
reg feat: implement network interfaces list API 2020-11-27 10:48:45 -08:00