diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2023-01-31 11:31:35 +0100 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2023-02-13 15:46:02 +0100 |
commit | 27ad228df14663c7041766d92f9ee8b11e24b4aa (patch) | |
tree | e2cafa68fdfcda715554da5c7642eb3de1a991e2 | |
parent | 5973e83160af7e5a6f4dff101393fc6f761c50a1 (diff) | |
download | NetworkManager-bg/rh2092215.tar.gz |
device: preserve assume state if updating port failsbg/rh2092215
If we fail to update the port connection, don't forget the assume
state but try again later. This helps when assuming a team connection
and its ports: the ports may fail to generate a connection because
teamd was not started yet; in that case we need to try again.
https://bugzilla.redhat.com/show_bug.cgi?id=2092215
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1523
-rw-r--r-- | src/core/devices/nm-device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/devices/nm-device.c b/src/core/devices/nm-device.c index db0d2dd24d..a00a1aa2b5 100644 --- a/src/core/devices/nm-device.c +++ b/src/core/devices/nm-device.c @@ -8584,6 +8584,7 @@ nm_device_generate_connection(NMDevice *self, nm_device_get_iface(master), local->message); g_error_free(local); + NM_SET_OUT(out_maybe_later, TRUE); return NULL; } } else { |