mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-19 08:58:28 +02:00
team: ignore bus name appearance when killing teamd
If we are currently killing teamd, we are not interested in knowing
when it becomes ready.
(cherry picked from commit 554e9be5b0)
This commit is contained in:
parent
77635adb50
commit
a0c209b653
1 changed files with 6 additions and 0 deletions
|
|
@ -356,6 +356,12 @@ teamd_dbus_appeared (GDBusConnection *connection,
|
|||
_LOGI (LOGD_TEAM, "teamd appeared on D-Bus");
|
||||
nm_device_queue_recheck_assume (device);
|
||||
|
||||
if (priv->kill_in_progress) {
|
||||
/* If we are currently killing teamd, we are not
|
||||
* interested in knowing when it becomes ready. */
|
||||
return;
|
||||
}
|
||||
|
||||
/* If another teamd grabbed the bus name while our teamd was starting,
|
||||
* just ignore the death of our teamd and run with the existing one.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue