c45c8bd9b9
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> |
||
---|---|---|
.. | ||
Makefile | ||
rte_eth_bond_8023ad_private.h | ||
rte_eth_bond_8023ad.c | ||
rte_eth_bond_8023ad.h | ||
rte_eth_bond_alb.c | ||
rte_eth_bond_alb.h | ||
rte_eth_bond_api.c | ||
rte_eth_bond_args.c | ||
rte_eth_bond_pmd.c | ||
rte_eth_bond_private.h | ||
rte_eth_bond_version.map | ||
rte_eth_bond.h |