mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 04:00:09 +01:00
device: clear queued IP config sources when the device is unrealized
If the device is later realized again, we assert that there aren't any
IP config changes queued. Therefore, they must be cleared on
unrealize().
(cherry picked from commit 9ed07fbb46)
This commit is contained in:
parent
1c56be4090
commit
fb83d62395
1 changed files with 3 additions and 0 deletions
|
|
@ -4236,6 +4236,9 @@ nm_device_unrealize (NMDevice *self, gboolean remove_resources, GError **error)
|
|||
}
|
||||
}
|
||||
|
||||
nm_clear_g_source (&priv->queued_ip_config_id_4);
|
||||
nm_clear_g_source (&priv->queued_ip_config_id_6);
|
||||
|
||||
g_object_freeze_notify (G_OBJECT (self));
|
||||
NM_DEVICE_GET_CLASS (self)->unrealize_notify (self);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue