Branch: refs/heads/master Home: https://github.com/jpirko/libteam Commit: e91c31e4aa379cc269dc654c3193e78ee9ac10db https://github.com/jpirko/libteam/commit/e91c31e4aa379cc269dc654c3193e78ee9a... Author: Xin Long lucien.xin@gmail.com Date: 2017-03-17 (Fri, 17 Mar 2017)
Changed paths: M teamd/teamd_runner_loadbalance.c
Log Message: ----------- teamd: check port link_up when a port is added with loadbalance runner
In loadbalance runner, when a port with no carrier is added, the port's 'enabled' option should have been set false, so that it can change to other ports to send the packet.
This patch is to fix it by checking it in lb's watch_ops .port_added().
Signed-off-by: Xin Long lucien.xin@gmail.com Signed-off-by: Jiri Pirko jiri@mellanox.com
libteam@lists.fedorahosted.org