From 8971da085e834a0e4fda333d2b099c8271d0de4b Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 12 2020 01:21:59 +0000 Subject: Apply patch 1000-team-fix-crash-rh1856723.patch patch_name: 1000-team-fix-crash-rh1856723.patch present_in_specfile: true location_in_specfile: 2 --- diff --git a/src/devices/team/nm-device-team.c b/src/devices/team/nm-device-team.c index 217c4bd..7ba3034 100644 --- a/src/devices/team/nm-device-team.c +++ b/src/devices/team/nm-device-team.c @@ -371,6 +371,7 @@ teamd_ready (NMDeviceTeam *self) success = teamd_read_config (self); if (!success) { + teamd_cleanup (self, TRUE); nm_device_state_changed (device, NM_DEVICE_STATE_FAILED, NM_DEVICE_STATE_REASON_TEAMD_CONTROL_FAILED); return; }