From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id F22021F7 for ; Tue, 16 Dec 2014 09:51:16 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 16 Dec 2014 00:50:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="429540310" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by FMSMGA003.fm.intel.com with ESMTP; 16 Dec 2014 00:39:38 -0800 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.213]) by IRSMSX109.ger.corp.intel.com ([169.254.13.244]) with mapi id 14.03.0195.001; Tue, 16 Dec 2014 08:50:41 +0000 From: "Wodkowski, PawelX" To: "Doherty, Declan" , "dev@dpdk.org" Thread-Topic: [PATCH v2] bond: static analysis issues fix Thread-Index: AQHQGIqG0OPwfNT8G06RZvNsFSf0CZyR6Xrg Date: Tue, 16 Dec 2014 08:50:40 +0000 Message-ID: References: <1418405982-21407-1-git-send-email-declan.doherty@intel.com> <1418663630-27409-1-git-send-email-declan.doherty@intel.com> In-Reply-To: <1418663630-27409-1-git-send-email-declan.doherty@intel.com> Accept-Language: pl-PL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] bond: static analysis issues fix 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: Tue, 16 Dec 2014 08:51:18 -0000 > -----Original Message----- > From: Doherty, Declan > Sent: Monday, December 15, 2014 6:14 PM > To: dev@dpdk.org > Cc: Wodkowski, PawelX; Doherty, Declan > Subject: [PATCH v2] bond: static analysis issues fix >=20 > -v2: > Incorporates Pawel's comments regarding assertion's check on activate_sla= ve > array indexing >=20 > Fixes for link bonding library identified by static analysis tool >=20 > - Overflow assert for active_slaves array in activate_slave function > - Allocation check of pci_id_table in rte_eth_bond_create > - Use of eth_dev pointer in mac_address_get/set before NULL check >=20 > Signed-off-by: Declan Doherty > --- >=20 Acked-by: Wodkowski, Pawel