NetworkManager/src/devices
Beniamino Galvani 64a9dd3804 device: don't reapply IP config on link up for disconnected devices
Only reapply the IP configuration on link up if the IP state is CONF
or DONE. Previously we also reapplied it when the device was
disconnected (IP state NONE) and this could lead to a situation where
an incomplete config was applied; then we intersected the desired
configuration with the external - incomplete - one, causing the
removal of part of desired configuration (for example the default
route).

Fixes: d0b16b9283 ('device: unconditionally reapply IP configuration on link up')

https://bugzilla.redhat.com/show_bug.cgi?id=1754511
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/291
2019-09-27 13:27:19 +02:00
..
adsl all: SPDX header conversion 2019-09-10 11:19:56 +02:00
bluetooth bluetooth: refactor BlueZ handling and let NMBluezManager cache ObjectManager data 2019-09-23 12:47:37 +02:00
ovs core: add and use NM_MANAGER_GET macro 2019-09-22 16:05:50 +02:00
team core: add and use NM_MANAGER_GET macro 2019-09-22 16:05:50 +02:00
tests all: SPDX header conversion 2019-09-10 11:19:56 +02:00
wifi wifi/p2p: fix crash due to invalid signal handler supplicant_group_iface_group_finished_cb() 2019-09-23 13:22:53 +02:00
wwan bluetooth: refactor BlueZ handling and let NMBluezManager cache ObjectManager data 2019-09-23 12:47:37 +02:00
meson.build build: add initial support for meson build system 2017-12-13 15:48:50 +01:00
nm-acd-manager.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-acd-manager.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-6lowpan.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-6lowpan.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-bond.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-bond.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-bridge.c bluetooth: refactor BlueZ handling and let NMBluezManager cache ObjectManager data 2019-09-23 12:47:37 +02:00
nm-device-bridge.h bluetooth: refactor BlueZ handling and let NMBluezManager cache ObjectManager data 2019-09-23 12:47:37 +02:00
nm-device-dummy.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-dummy.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-ethernet-utils.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-ethernet-utils.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-ethernet.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-ethernet.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-factory.c bluetooth: refactor BlueZ handling and let NMBluezManager cache ObjectManager data 2019-09-23 12:47:37 +02:00
nm-device-factory.h bluetooth: refactor BlueZ handling and let NMBluezManager cache ObjectManager data 2019-09-23 12:47:37 +02:00
nm-device-generic.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-generic.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-infiniband.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-infiniband.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-ip-tunnel.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-ip-tunnel.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-logging.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-macsec.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-macsec.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-macvlan.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-macvlan.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-ppp.c core: add and use NM_MANAGER_GET macro 2019-09-22 16:05:50 +02:00
nm-device-ppp.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-private.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-tun.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-tun.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-veth.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-veth.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-vlan.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-vlan.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-vxlan.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-vxlan.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-wireguard.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-wireguard.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device-wpan.c core: add and use NM_MANAGER_GET macro 2019-09-22 16:05:50 +02:00
nm-device-wpan.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-device.c device: don't reapply IP config on link up for disconnected devices 2019-09-27 13:27:19 +02:00
nm-device.h bluetooth: refactor BlueZ handling and let NMBluezManager cache ObjectManager data 2019-09-23 12:47:37 +02:00
nm-lldp-listener.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-lldp-listener.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00