Regular quit needs to clean the ports two (#3531)

This commit is contained in:
pavel-shirshov 2019-09-27 14:49:44 -07:00 committed by Ying Xie
parent 21c9185e44
commit 467851e24e

View File

@ -108,11 +108,11 @@ index 9dc85b5..679da49 100644
+ teamd_refresh_ports(ctx);
+ if (ctrl_byte == 'w')
+ teamd_ports_flush_data(ctx);
+ /* Flush ports to destroy port object */
+ err = teamd_flush_ports(ctx);
+ if (err)
+ return err;
+ }
+
+ err = teamd_flush_ports(ctx);
+ if (err)
+ return err;
quit_in_progress = true;
continue;
case 'r':