Flush port in both worm-reboot and fast-reboot mode on exit. Otherwise teamd will stuck (#3512)
This commit is contained in:
parent
e7f1d4f3e2
commit
301c69b098
@ -108,7 +108,7 @@ index 9dc85b5..679da49 100644
|
|||||||
+ teamd_refresh_ports(ctx);
|
+ teamd_refresh_ports(ctx);
|
||||||
+ if (ctrl_byte == 'w')
|
+ if (ctrl_byte == 'w')
|
||||||
+ teamd_ports_flush_data(ctx);
|
+ teamd_ports_flush_data(ctx);
|
||||||
+ } else {
|
+ /* Flush ports to destroy port object */
|
||||||
+ err = teamd_flush_ports(ctx);
|
+ err = teamd_flush_ports(ctx);
|
||||||
+ if (err)
|
+ if (err)
|
||||||
+ return err;
|
+ return err;
|
||||||
|
Loading…
Reference in New Issue
Block a user