From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3 1/1] bonding: fix device initialisation error handling Date: Mon, 10 Aug 2015 02:06:56 +0200 Message-ID: <1525257.r8l5aTe9he@xps13> References: <60ABE07DBB3A454EB7FAD707B4BB1582139750C6@IRSMSX109.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: "Jastrzebski, MichalX K" Return-path: Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by dpdk.org (Postfix) with ESMTP id 881182A07 for ; Mon, 10 Aug 2015 02:08:10 +0200 (CEST) Received: by wicja10 with SMTP id ja10so18417910wic.1 for ; Sun, 09 Aug 2015 17:08:10 -0700 (PDT) In-Reply-To: <60ABE07DBB3A454EB7FAD707B4BB1582139750C6@IRSMSX109.ger.corp.intel.com> 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" > > 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 > Acked-by: Michal Jastrzebski Applied, thanks