From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 631B52946; Thu, 22 Sep 2016 01:02:39 +0200 (CEST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP; 21 Sep 2016 16:02:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,375,1470726000"; d="scan'208";a="11832802" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by fmsmga006.fm.intel.com with ESMTP; 21 Sep 2016 16:02:37 -0700 Received: from irsmsx155.ger.corp.intel.com (163.33.192.3) by IRSMSX101.ger.corp.intel.com (163.33.3.153) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 22 Sep 2016 00:02:36 +0100 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.164]) by irsmsx155.ger.corp.intel.com ([169.254.14.133]) with mapi id 14.03.0248.002; Thu, 22 Sep 2016 00:02:36 +0100 From: "De Lara Guarch, Pablo" To: Olivier Matz , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [PATCH v3] testpmd: fix crash when mempool allocation fails Thread-Index: AQHSCn6fgBENfSYtw0OknU6veC5E3KCEoeLg Date: Wed, 21 Sep 2016 23:02:35 +0000 Message-ID: References: <1473408985-13131-1-git-send-email-olivier.matz@6wind.com> <1473414128-10996-1-git-send-email-olivier.matz@6wind.com> In-Reply-To: <1473414128-10996-1-git-send-email-olivier.matz@6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiM2JiOWM5ZDAtMTY5Ny00NTIyLWE2MzktYjE2NjBlYWFkNzM5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlwvOXRhSTg5NkxHT3pwS0s1dE00UTJmb005VUV0bzhYRTM2dmU5czk4QWpBPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH v3] testpmd: fix crash when mempool allocation fails X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2016 23:02:40 -0000 > -----Original Message----- > From: Olivier Matz [mailto:olivier.matz@6wind.com] > Sent: Friday, September 09, 2016 2:42 AM > To: dev@dpdk.org; De Lara Guarch, Pablo > Cc: stable@dpdk.org > Subject: [PATCH v3] testpmd: fix crash when mempool allocation fails >=20 > Avoid access to mempool pointer if it is NULL. >=20 > Fixes: b19a0c75a0d4 ("app/testpmd: remove anonymous mempool code") > Coverity issue: 127553 >=20 > Signed-off-by: Olivier Matz Acked-by: Pablo de Lara