• Thomas Haller's avatar
    core: rework tracking config in dns-manager to use ifindex · b40729ca
    Thomas Haller authored
    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.
    b40729ca
Name
Last commit
Last update
..
devices Loading commit data...
dhcp Loading commit data...
dns Loading commit data...
dnsmasq Loading commit data...
ndisc Loading commit data...
platform Loading commit data...
ppp Loading commit data...
settings Loading commit data...
supplicant Loading commit data...
systemd Loading commit data...
tests Loading commit data...
vpn Loading commit data...
NetworkManagerUtils.c Loading commit data...
NetworkManagerUtils.h Loading commit data...
main-utils.c Loading commit data...
main-utils.h Loading commit data...
main.c Loading commit data...
meson.build Loading commit data...
nm-act-request.c Loading commit data...
nm-act-request.h Loading commit data...
nm-active-connection.c Loading commit data...
nm-active-connection.h Loading commit data...
nm-audit-manager.c Loading commit data...
nm-audit-manager.h Loading commit data...
nm-auth-manager.c Loading commit data...
nm-auth-manager.h Loading commit data...
nm-auth-subject.c Loading commit data...
nm-auth-subject.h Loading commit data...
nm-auth-utils.c Loading commit data...
nm-auth-utils.h Loading commit data...
nm-bus-manager.c Loading commit data...
nm-bus-manager.h Loading commit data...
nm-checkpoint-manager.c Loading commit data...
nm-checkpoint-manager.h Loading commit data...
nm-checkpoint.c Loading commit data...
nm-checkpoint.h Loading commit data...
nm-config-data.c Loading commit data...
nm-config-data.h Loading commit data...
nm-config.c Loading commit data...
nm-config.h Loading commit data...
nm-connectivity.c Loading commit data...
nm-connectivity.h Loading commit data...
nm-core-utils.c Loading commit data...
nm-core-utils.h Loading commit data...
nm-dcb.c Loading commit data...
nm-dcb.h Loading commit data...
nm-dhcp4-config.c Loading commit data...
nm-dhcp4-config.h Loading commit data...
nm-dhcp6-config.c Loading commit data...
nm-dhcp6-config.h Loading commit data...
nm-dispatcher.c Loading commit data...
nm-dispatcher.h Loading commit data...
nm-exported-object.c Loading commit data...
nm-exported-object.h Loading commit data...
nm-firewall-manager.c Loading commit data...
nm-firewall-manager.h Loading commit data...
nm-hostname-manager.c Loading commit data...
nm-hostname-manager.h Loading commit data...
nm-iface-helper.c Loading commit data...
nm-ip4-config.c Loading commit data...
nm-ip4-config.h Loading commit data...
nm-ip6-config.c Loading commit data...
nm-ip6-config.h Loading commit data...
nm-logging.c Loading commit data...
nm-logging.h Loading commit data...
nm-manager.c Loading commit data...
nm-manager.h Loading commit data...
nm-netns.c Loading commit data...
nm-netns.h Loading commit data...
nm-pacrunner-manager.c Loading commit data...
nm-pacrunner-manager.h Loading commit data...
nm-policy.c Loading commit data...
nm-policy.h Loading commit data...
nm-proxy-config.c Loading commit data...
nm-proxy-config.h Loading commit data...
nm-rfkill-manager.c Loading commit data...
nm-rfkill-manager.h Loading commit data...
nm-session-monitor.c Loading commit data...
nm-session-monitor.h Loading commit data...
nm-sleep-monitor.c Loading commit data...
nm-sleep-monitor.h Loading commit data...
nm-test-utils-core.h Loading commit data...
nm-types.h Loading commit data...
org.freedesktop.NetworkManager.conf Loading commit data...