[dpdk-dev] [PATCH] bond: static analysis issues fix

2014-12-12 Thread Wodkowski, PawelX
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Declan Doherty > Sent: Friday, December 12, 2014 6:40 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] bond: static analysis issues fix > > Fixes for link bonding library identifi

[dpdk-dev] [PATCH] bond: static analysis issues fix

2014-12-12 Thread Declan Doherty
Fixes for link bonding library identified by static analysis tool - Overflow check for active_slaves array in activate_slave function - Allocation check of pci_id_table in rte_eth_bond_create - Use of eth_dev pointer in mac_address_get/set before NULL check Signed-off-by: Declan Doherty --- lib