numam-dpdk/drivers/net/bonding
Bernard Iremonger c45c8bd9b9 bonding: fix device initialisation error handling
If the name parameter to rte_eth_bond_create() was NULL,
there was a segmentation fault because eth_dev was also NULL.
Add error handling of mac_addrs memory allocation.
Add call to rte_eth_dev_release_port() in error handling.

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Tested-by: Marvin Liu <yong.liu@intel.com>
Acked-by: Michal Jastrzebski <michalx.k.jastrzebski@intel.com>
2015-08-10 02:05:42 +02:00
..
Makefile mem: move librte_malloc to eal/common 2015-07-16 13:44:48 +02:00
rte_eth_bond_8023ad_private.h bond: move to drivers/net/ 2015-05-22 15:51:38 +02:00
rte_eth_bond_8023ad.c bonding: fix socket id for LACP slave 2015-08-10 01:56:05 +02:00
rte_eth_bond_8023ad.h bond: move to drivers/net/ 2015-05-22 15:51:38 +02:00
rte_eth_bond_alb.c bond: move to drivers/net/ 2015-05-22 15:51:38 +02:00
rte_eth_bond_alb.h bond: move to drivers/net/ 2015-05-22 15:51:38 +02:00
rte_eth_bond_api.c bonding: fix device initialisation error handling 2015-08-10 02:05:42 +02:00
rte_eth_bond_args.c bond: move to drivers/net/ 2015-05-22 15:51:38 +02:00
rte_eth_bond_pmd.c bonding: free queue memory when closing 2015-07-27 19:20:44 +02:00
rte_eth_bond_private.h bonding: free queue memory when closing 2015-07-27 19:20:44 +02:00
rte_eth_bond_version.map bonding: support port hotplug 2015-07-27 19:20:44 +02:00
rte_eth_bond.h bonding: support port hotplug 2015-07-27 19:20:44 +02:00