Commit c71b4726 authored by Beniamino Galvani's avatar Beniamino Galvani

team: don't kill teamd for external devices

The teamd instance must not be killed if the device was externally
activated.

!158
https://bugzilla.redhat.com/show_bug.cgi?id=1693142
(cherry picked from commit 008a4b42)
(cherry picked from commit bd113fe7)
parent 6160888e
Pipeline #37809 passed with stage
in 30 minutes and 55 seconds
......@@ -694,6 +694,9 @@ deactivate (NMDevice *device)
NMDeviceTeam *self = NM_DEVICE_TEAM (device);
NMDeviceTeamPrivate *priv = NM_DEVICE_TEAM_GET_PRIVATE (self);
if (nm_device_sys_iface_state_is_external (device))
return;
if (priv->teamd_pid || priv->tdc)
_LOGI (LOGD_TEAM, "deactivation: stopping teamd...");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment