NetworkManager/src
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
..
devices device: don't reapply IP config on link up for disconnected devices 2019-09-27 13:27:19 +02:00
dhcp core: use G_DEFINE_ABSTRACT_TYPE() macro instead of G_DEFINE_TYPE_EXTENDED() 2019-09-26 08:18:58 +02:00
dns dns: move ratelimiting and restart from NMDnsManager to NMDnsDnsmasq 2019-09-26 08:18:58 +02:00
dnsmasq all: SPDX header conversion 2019-09-10 11:19:56 +02:00
initrd initrd: make "argv" argument of nmi_cmdline_reader_parse() a const strv 2019-09-27 09:20:06 +02:00
ndisc all: SPDX header conversion 2019-09-10 11:19:56 +02:00
platform all: SPDX header conversion 2019-09-10 11:19:56 +02:00
ppp core: extend nm_shutdown_wait_obj_*() to support notification via a GCancellable 2019-09-22 16:05:50 +02:00
settings settings: fix creation of default-wired-connection in device_realized() 2019-09-27 09:12:35 +02:00
supplicant supplicant: fix rework condition in nm_supplicant_config_add_bgscan() 2019-09-25 17:29:50 +02:00
systemd systemd: merge branch systemd into master 2019-09-25 09:14:30 +02:00
tests core: log the content of "/var/lib/NetworkManager/no-auto-default.state" 2019-09-26 19:33:05 +02:00
vpn all: SPDX header conversion 2019-09-10 11:19:56 +02:00
main-utils.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
main-utils.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
main.c core: log the content of "/var/lib/NetworkManager/no-auto-default.state" 2019-09-26 19:33:05 +02:00
meson.build build: fix meson warning about wrong custom target argument 2019-08-05 16:05:30 +02:00
NetworkManagerUtils.c core: extend nm_shutdown_wait_obj_*() to support waiting with explicit unregister 2019-09-26 08:18:58 +02:00
NetworkManagerUtils.h core: extend nm_shutdown_wait_obj_*() to support waiting with explicit unregister 2019-09-26 08:18:58 +02:00
nm-act-request.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-act-request.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-active-connection.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-active-connection.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-audit-manager.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-audit-manager.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-auth-manager.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-auth-manager.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-auth-subject.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-auth-subject.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-auth-utils.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-auth-utils.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-checkpoint-manager.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-checkpoint-manager.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-checkpoint.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-checkpoint.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-config-data.c core: log the content of "/var/lib/NetworkManager/no-auto-default.state" 2019-09-26 19:33:05 +02:00
nm-config-data.h core: log the content of "/var/lib/NetworkManager/no-auto-default.state" 2019-09-26 19:33:05 +02:00
nm-config.c core: log the content of "/var/lib/NetworkManager/no-auto-default.state" 2019-09-26 19:33:05 +02:00
nm-config.h core: log the content of "/var/lib/NetworkManager/no-auto-default.state" 2019-09-26 19:33:05 +02:00
nm-connectivity.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-connectivity.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-core-utils.c dns/dnsmasq: refactor tracking of dnsmasq process 2019-09-26 08:18:58 +02:00
nm-core-utils.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dbus-manager.c shared,all: add and use DBUS_INTERFACE_OBJECT_MANAGER define 2019-09-22 16:05:50 +02:00
nm-dbus-manager.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dbus-object.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dbus-object.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dbus-utils.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dbus-utils.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dcb.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dcb.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dhcp4-config.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dhcp4-config.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dhcp6-config.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dhcp6-config.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dispatcher.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dispatcher.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-firewall-manager.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-firewall-manager.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-hostname-manager.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-hostname-manager.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-iface-helper.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-ip4-config.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-ip4-config.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-ip6-config.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-ip6-config.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-keep-alive.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-keep-alive.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-logging.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-logging.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-manager.c bluetooth: refactor BlueZ handling and let NMBluezManager cache ObjectManager data 2019-09-23 12:47:37 +02:00
nm-manager.h bluetooth: refactor BlueZ handling and let NMBluezManager cache ObjectManager data 2019-09-23 12:47:37 +02:00
nm-netns.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-netns.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-pacrunner-manager.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-pacrunner-manager.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-policy.c core: add and use NM_MANAGER_GET macro 2019-09-22 16:05:50 +02:00
nm-policy.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-proxy-config.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-proxy-config.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-rfkill-manager.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-rfkill-manager.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-session-monitor.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-session-monitor.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-sleep-monitor.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-sleep-monitor.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-test-utils-core.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-types.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
org.freedesktop.NetworkManager.conf wifi-p2p: rename Wi-Fi P2P 2019-02-01 17:02:57 +01:00