Tomasz Kulasek 6abd94d72a net/bonding: fix check slaves link properties
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>
2017-10-26 02:33:01 +02:00
..
2017-10-26 02:33:01 +02:00
2017-10-26 02:33:01 +02:00
2017-10-26 02:33:01 +02:00
2017-10-26 02:33:01 +02:00
2017-10-26 02:33:01 +02:00
2017-10-26 02:33:01 +02:00
2017-10-26 02:33:01 +02:00
2017-10-26 02:33:01 +02:00
2017-10-26 02:33:01 +02:00
2017-10-26 02:33:01 +02:00
2017-10-26 02:33:01 +02:00
2017-10-26 02:33:01 +02:00
2017-10-26 02:33:00 +02:00
2017-10-26 02:33:01 +02:00
2017-10-26 02:33:01 +02:00
2017-10-26 02:33:01 +02:00
2017-10-26 02:33:01 +02:00