6abd94d72a
Result of slaves link properties validation is not used when new slave is added. This patch uses the value of link_properties_valid() to determinate if slave can be used in the bonding. If function fails, error is returned preventing to add slave with invalid link properties. Coverity issue: 158661 Fixes: deba8a2f8b0b ("net/bonding: fix link properties management") Cc: stable@dpdk.org Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>