From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 5D7295947 for ; Wed, 5 Aug 2015 15:19:53 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 05 Aug 2015 06:19:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,617,1432623600"; d="scan'208";a="778298481" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by orsmga002.jf.intel.com with ESMTP; 05 Aug 2015 06:19:23 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.22]) by IRSMSX109.ger.corp.intel.com ([169.254.13.130]) with mapi id 14.03.0224.002; Wed, 5 Aug 2015 14:19:21 +0100 From: "Iremonger, Bernard" To: Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH v2 1/1] bonding: fix error handling in rte_eth_bond_create() Thread-Index: AQHQz4EHWlDzLSiWzUi2fHE6yxx4zZ39Y2CQ Date: Wed, 5 Aug 2015 13:19:20 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C219F36EA6@IRSMSX108.ger.corp.intel.com> References: <1438778204-8896-1-git-send-email-bernard.iremonger@intel.com> <1514392.p4W8R5bZo1@xps13> In-Reply-To: <1514392.p4W8R5bZo1@xps13> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v2 1/1] bonding: fix error handling in rte_eth_bond_create() X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Aug 2015 13:19:53 -0000 Hi Thomas, > -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > Sent: Wednesday, August 5, 2015 2:16 PM > To: Iremonger, Bernard > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 1/1] bonding: fix error handling in > rte_eth_bond_create() >=20 > 2015-08-05 13:36, Bernard Iremonger: > > if the name parameter to rte_eth_bond_create() was NULL, there was a > > segmentation fault because eth_dev was also NULL. >=20 > You also add error handling of mac_addrs alloc and release_port(). > It deserves to be said in this commit message. Will I send a v3 patch ? Regards, Bernard.