NetworkManager/src/devices/team
Beniamino Galvani 680c0b8812 team: perform cleanup immediately when connecting to teamd fails
When NM fails to connect to teamd during an activation, it sets the
device state to FAILED. Eventually the device will become DISCONNECTED
and will call the ->deactivate() method that will perform the cleanup
of timers, teamd process and teamdctl instance.

However, in this way, when the device is DISCONNECTED timers are still
armed and can be triggered in the wrong state. Instead, perform the
cleanup immediately on failure.

https://bugzilla.redhat.com/show_bug.cgi?id=1856723
(cherry picked from commit 26e97fcd0d)
2020-07-16 09:44:54 +02:00
..
meson.build license: Add license using SPDX identifiers to meson build files 2020-02-17 13:16:57 +01:00
nm-device-team.c team: perform cleanup immediately when connecting to teamd fails 2020-07-16 09:44:54 +02:00
nm-device-team.h all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-team-factory.c all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00