From a577a80b059ed40486e9585b0fd19c76f6796357 Mon Sep 17 00:00:00 2001 From: pavel-shirshov Date: Wed, 25 Sep 2019 16:08:44 -0700 Subject: [PATCH] Flush port in both worm-reboot and fast-reboot mode on exit. Otherwise teamd will stuck (#3512) --- src/libteam/patch/0008-libteam-Add-warm_reboot-mode.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libteam/patch/0008-libteam-Add-warm_reboot-mode.patch b/src/libteam/patch/0008-libteam-Add-warm_reboot-mode.patch index d92ac6987e..52a181d4da 100644 --- a/src/libteam/patch/0008-libteam-Add-warm_reboot-mode.patch +++ b/src/libteam/patch/0008-libteam-Add-warm_reboot-mode.patch @@ -108,7 +108,7 @@ index 9dc85b5..679da49 100644 + teamd_refresh_ports(ctx); + if (ctrl_byte == 'w') + teamd_ports_flush_data(ctx); -+ } else { ++ /* Flush ports to destroy port object */ + err = teamd_flush_ports(ctx); + if (err) + return err;