From f5cfea4f93ecdaf40d0ee86fc38f9dd3dd5450f9 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Apr 07 2021 22:22:21 +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; }