diff options
| author | Thomas Haller <thaller@redhat.com> | 2017-12-16 15:11:16 +0100 |
|---|---|---|
| committer | Thomas Haller <thaller@redhat.com> | 2018-01-09 14:24:54 +0100 |
| commit | b40729ca5f72a147872c4d38b2de6b5fb757f5b4 (patch) | |
| tree | fcacf3062256ff95da4555b6e805c160c81919f5 /man | |
| parent | fc40d91b97a1e84ea72536d0dde89f4f479c8e97 (diff) | |
| download | NetworkManager-b40729ca5f72a147872c4d38b2de6b5fb757f5b4.tar.gz | |
core: rework tracking config in dns-manager to use ifindex
Don't track the per-device configuration in NMDnsManager by
the ifname, but by the ifindex. We should consistently treat
the ifindex as the ID of a link, like kernel does.
At the few places where we actually need the ifname, resolve
it by looking into the platform cache. That is not necessarily
the same as the ifname that is currently tracked by NMDevice,
because netdev interfaces can be renamed, and NMDevice updates
it's link properties delayed. However, the platform cache has
the most recent notion of the correct interface name for an
ifindex, so if we ever hit a race here, we do it now more
correctly.
This also temporarily drops support for mdns. Will be re-added next,
but differently.
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions
