From 2e99ddb7a7e65e74846d344b456c4ab4f2ce2ba7 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Thu, 12 Mar 2015 07:03:01 +0100 Subject: [PATCH] device: unschedule ip update if we just scheduled ip configuration It would subtract the configuration from device confguration that's not yet applied. This a the race where the loose the address while activating a connection that has both IPv6 and IPv4 configuration. Fixes: 557667df12fc05b76326d6406553985effeeb2ac https://bugzilla.gnome.org/show_bug.cgi?id=746066 --- src/devices/nm-device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 89832d6ec0..bb338e07a4 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -5423,6 +5423,7 @@ nm_device_activate_schedule_ip4_config_result (NMDevice *self, NMIP4Config *conf if (config) priv->dev_ip4_config = g_object_ref (config); + nm_device_queued_ip_config_change_clear (self); activation_source_schedule (self, nm_device_activate_ip4_config_commit, AF_INET); _LOGI (LOGD_DEVICE | LOGD_IP4,