From fc7448b310fe8a732356b898ac7887566e02c8bd Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 9 Feb 2018 12:59:34 +0100 Subject: [PATCH] device: don't check addr-source for addresses that failed IPv6 DAD dad6_failed_addrs is populated with addresses from the platform cache. Inside the cache, all addresses have addr_source NM_IP_CONFIG_SOURCE_KERNEL, because addr_source property for addresses is only a property that is used NetworkManager internally. --- src/devices/nm-device.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 053fe7bedd..c08b93ebb6 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -11561,9 +11561,6 @@ queued_ip6_config_change (gpointer user_data) for (iter = priv->dad6_failed_addrs; iter; iter = iter->next) { const NMPlatformIP6Address *addr = NMP_OBJECT_CAST_IP6_ADDRESS (iter->data); - if (addr->addr_source >= NM_IP_CONFIG_SOURCE_USER) - continue; - _LOGI (LOGD_IP6, "ipv6: duplicate address check failed for the %s address", nm_platform_ip6_address_to_string (addr, NULL, 0));