diff options
author | Francesco Giudici <fgiudici@redhat.com> | 2017-05-26 19:28:38 +0200 |
---|---|---|
committer | Francesco Giudici <fgiudici@redhat.com> | 2017-05-26 19:28:38 +0200 |
commit | 99556e5f85388a30c271710fb8e5bee9f5da9e2a (patch) | |
tree | 671a6953294a2024fe693b08ea931690e1eac701 | |
parent | adbf383628138b4f868456996123c4900537a4fb (diff) | |
download | NetworkManager-fg/ipv6_address_update-rh1452046.tar.gz |
device: skip ip state update coming from platform for unmanaged devicesfg/ipv6_address_update-rh1452046
-rw-r--r-- | src/devices/nm-device.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 15bf412b55..d3267f41fe 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -10840,6 +10840,10 @@ device_ipx_changed (NMPlatform *platform, priv = NM_DEVICE_GET_PRIVATE (self); + /* don't update the state of removed devices */ + if (priv->sys_iface_state == NM_DEVICE_SYS_IFACE_STATE_REMOVED) + return; + switch (obj_type) { case NMP_OBJECT_TYPE_IP4_ADDRESS: case NMP_OBJECT_TYPE_IP4_ROUTE: |