Re: [PATCH] Invalidate route cache when removing IP address

2017-11-14 Thread Vilmos Nebehaj
On Tue, Nov 14, 2017 at 1:07 PM, Nadav Har'El wrote: > > On Tue, Nov 14, 2017 at 8:14 PM, Vilmos Nebehaj > wrote: > >> In core/dhcp.cc, osv::start_if() is used to configure an interface based >> on a DHCP lease. >> >> Cloud-init calls dhcp_renew() after

[COMMIT osv master] Invalidate route cache when removing IP address

2017-11-14 Thread Commit Bot
From: Vilmos Nebehaj Committer: Nadav Har'El Branch: master Invalidate route cache when removing IP address In core/dhcp.cc, osv::start_if() is used to configure an interface based on a DHCP lease. Cloud-init calls dhcp_renew() after the hostname has

[PATCH] Invalidate route cache when removing IP address

2017-11-14 Thread Vilmos Nebehaj
In core/dhcp.cc, osv::start_if() is used to configure an interface based on a DHCP lease. Cloud-init calls dhcp_renew() after the hostname has changed (due to data_source::external_hostname() returning a different hostname than the current one). This will have the DHCP code renew the lease, and