From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jastrzebski, MichalX K" Subject: Re: [PATCH v3 1/1] bonding: fix device initialisation error handling Date: Thu, 6 Aug 2015 08:19:56 +0000 Message-ID: <60ABE07DBB3A454EB7FAD707B4BB1582139750C6@IRSMSX109.ger.corp.intel.com> References: <1438783443-23286-1-git-send-email-bernard.iremonger@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable To: "dev@dpdk.org" Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id B75345697 for ; Thu, 6 Aug 2015 10:20:00 +0200 (CEST) In-Reply-To: <1438783443-23286-1-git-send-email-bernard.iremonger@intel.com> Content-Language: en-US List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Iremonger, Bernard > Sent: Wednesday, August 05, 2015 4:04 PM > To: dev@dpdk.org > Cc: Jastrzebski, MichalX K; Liu, Yong; Iremonger, Bernard > Subject: [PATCH v3 1/1] bonding: fix device initialisation error handling >=20 > 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. >=20 > Signed-off-by: Bernard Iremonger Acked-by: Michal Jastrzebski