commit | 5409fb58b0e9909b44a2ff89cf4c49e35ce53ea6 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@nvidia.com> | Wed Dec 07 13:26:44 2022 +0100 |
committer | Jiri Pirko <jiri@nvidia.com> | Wed Dec 07 13:35:23 2022 +0100 |
tree | 21ed26faca78436149a3791f2e16af945ad35531 | |
parent | 4a43cd854b4b6bbc1ff3dbe99df74eae1efe2b34 [diff] |
teamd: lacp: make sure that lacp_port_agg_update() works with correct unselectable state In case of checking unselectable port state, lacp_port_agg_update() is checking the new one during port state change. This is wrong as it should check the old one. Move the state setting into lacp_port_agg_update() and rename the function accordingly. Signed-off-by: Jiri Pirko <jiri@nvidia.com>