[dpdk-dev] [PATCH v3 1/1] bonding: fix device initialisation error handling

Jastrzebski, MichalX K michalx.k.jastrzebski at intel.com
Thu Aug 6 10:19:56 CEST 2015


> -----Original Message-----
> From: Iremonger, Bernard
> Sent: Wednesday, August 05, 2015 4:04 PM
> To: dev at dpdk.org
> Cc: Jastrzebski, MichalX K; Liu, Yong; Iremonger, Bernard
> Subject: [PATCH v3 1/1] 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 at intel.com>
Acked-by: Michal Jastrzebski <michalx.k.jastrzebski at intel.com>


More information about the dev mailing list