NetworkManager/src
Wen Liang fc26b52281 core: don't reset assume state if the device is unmanaged by parent
When the device gets realized, similar to the situation that the device
 is unmanaged by platform-init, if the device is still unmanaged by
parent and we clear the assume state. Then, when the device becomes
managed, NM is not able to properly assume the device using the UUID.

Therefore, we should not clear the assume state if the device has only
the NM_UNMANAGED_PLATFORM_INIT or the NM_UNMANAGED_PARENT flag set
in the unmanaged flags.

The previous commit 3c4450aa4d ('core: don't reset assume state too
early') did something similar for NM_UNMANAGED_PLATFORM_INIT flag only.

(cherry picked from commit 87674740d8)
(cherry picked from commit 1b00c50d52)
2022-01-06 14:01:17 -05:00
..
c-list build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
c-rbtree build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
c-siphash build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
c-stdaux build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
contrib clang-format: reformat code with clang 12 2021-05-04 13:56:26 +02:00
core core: don't reset assume state if the device is unmanaged by parent 2022-01-06 14:01:17 -05:00
libnm-base core: introduce device 'allowed-connections' property 2021-07-27 17:51:10 +02:00
libnm-client-aux-extern build: move "clients/common/" to "src/libnmc-{base,setting}/" 2021-03-02 08:38:25 +01:00
libnm-client-impl format: reformat code with clang-format-12.0.1-1.fc34 2022-01-04 21:24:30 +01:00
libnm-client-public Revert "libnm: introduce the new get_ports() in bridge/bond API" 2021-06-02 12:05:26 +02:00
libnm-client-test build/meson: cleanup dependencies for libnm-core-aux-intern 2021-02-28 10:42:05 +01:00
libnm-core-aux-extern build/meson: cleanup dependencies for libnm-core-aux-extern 2021-02-28 10:42:06 +01:00
libnm-core-aux-intern bond: support the peer_notif_delay bond option 2021-07-02 13:28:34 -03:00
libnm-core-impl libnm: fix crash on failure of nm_vpn_plugin_info_new_from_file() 2022-01-05 09:36:00 +01:00
libnm-core-intern initrd: add a 'origin' user tag to connections 2021-07-27 17:51:10 +02:00
libnm-core-public libnm: fix NM_SETTING_IP_CONFIG_CLASS() macro 2021-07-09 16:34:52 +02:00
libnm-glib-aux glib-aux: fix assertion in nm_strdup_reset_take() 2022-01-05 09:41:10 +01:00
libnm-log-core logging: add _nm_log_full() macro 2021-04-12 16:46:01 +02:00
libnm-log-null build: remove shared/ directory 2021-02-24 12:49:13 +01:00
libnm-platform platform: preserve IPv6 multicast route added by kernel 2021-09-20 10:31:59 +02:00
libnm-std-aux std-aux/trivial: fix coding style 2022-01-05 09:39:14 +01:00
libnm-systemd-core libsystemd-network: disable event sources before unref them 2021-09-24 17:07:51 +02:00
libnm-systemd-shared trivial: fix code style 2021-07-08 09:59:27 +02:00
libnm-udev-aux build/meson: cleanup dependencies for libnm-udev-aux 2021-02-28 10:42:04 +01:00
libnmc-base nmcli: fix import WireGuard profile with DNS domain and address family disabled 2022-01-05 09:41:00 +01:00
libnmc-setting libnm: fix warning when setting wrong ethtool ternary value 2022-01-05 09:41:21 +01:00
libnmt-newt libnmt-newt: use cleanup macro in nmt_newt_button_build_component() 2021-05-11 13:56:50 +02:00
linux-headers linux-headers: update nl802154.h kernel header 2021-09-07 08:44:08 +02:00
n-acd build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
n-dhcp4 n-dhcp4: add an accessor for the file name in the lease 2021-07-27 09:44:28 +02:00
nm-cloud-setup cloud-setup: use suppress_prefixlength rule to honor non-default-routes in the main table 2021-09-16 17:37:37 +02:00
nm-daemon-helper nm-daemon-helper: fix indentation 2021-06-16 18:33:59 +02:00
nm-dispatcher build: fix linking libnm-log-null into different test programs 2021-07-05 15:09:52 +02:00
nm-initrd-generator initrd: handle ip=dhcp,dhcp6 specially 2021-11-02 16:46:53 +01:00
nm-online build: fix linking libnm-log-null into different test programs 2021-07-05 15:09:52 +02:00
nmcli nmcli/docs: fix address order in ipv46.addresses documentation for man nm-settings-nmcli 2021-08-19 14:30:28 +02:00
nmtui tui: use internal _nm_utils_ip4_prefix_to_netmask() helper 2021-05-11 13:56:48 +02:00
tests/client nmcli: include 'searches' field for nmcli device show 2021-07-13 08:14:06 -03:00
meson.build core: add infrastructure for spawning a helper process 2021-06-11 21:59:11 +02:00