From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id E30B999D6; Mon, 31 Jul 2017 12:09:17 +0200 (CEST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP; 31 Jul 2017 03:09:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,441,1496127600"; d="scan'208";a="133982968" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by fmsmga006.fm.intel.com with ESMTP; 31 Jul 2017 03:09:15 -0700 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.211]) by IRSMSX152.ger.corp.intel.com ([169.254.6.83]) with mapi id 14.03.0319.002; Mon, 31 Jul 2017 11:09:14 +0100 From: "Van Haaren, Harry" To: Jerin Jacob , "dev@dpdk.org" CC: "thomas@monjalon.net" , "Richardson, Bruce" , "hemant.agrawal@nxp.com" , "Eads, Gage" , "nipun.gupta@nxp.com" , "gprathyusha@caviumnetworks.com" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 2/2] app/testeventdev: fix a divide by zero case Thread-Index: AQHTCeSiDUiJvOk4lEeyD2b+aDmUTKJtthxw Date: Mon, 31 Jul 2017 10:09:13 +0000 Message-ID: References: <20170731100452.12647-1-jerin.jacob@caviumnetworks.com> <20170731100452.12647-2-jerin.jacob@caviumnetworks.com> In-Reply-To: <20170731100452.12647-2-jerin.jacob@caviumnetworks.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiY2I2NzY1YzQtZTRhMS00N2MyLWEyNzYtOTdiYTYzYjU2Zjg4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IjN6elFXY1VPcVwvV1ZoSGQ0em1PU1lZTjdEZ2JON2I0Rm1tbXVHaDNaVk1vPSJ9 x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action 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] [dpdk-dev] [PATCH 2/2] app/testeventdev: fix a divide by zero case X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2017 10:09:18 -0000 > From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com] > Sent: Monday, July 31, 2017 11:05 AM > To: dev@dpdk.org > Cc: thomas@monjalon.net; Richardson, Bruce ; = Van Haaren, Harry > ; hemant.agrawal@nxp.com; Eads, Gage ; > nipun.gupta@nxp.com; gprathyusha@caviumnetworks.com; Jerin Jacob > ; stable@dpdk.org > Subject: [dpdk-dev] [PATCH 2/2] app/testeventdev: fix a divide by zero ca= se >=20 > pkts =3D=3D 0 will result in divide by zero case. > Added a check to fix it. >=20 > Coverity issue: 158652 > Fixes: 9d3aeb185eb4 ("app/testeventdev: launch perf lcores") > Cc: stable@dpdk.org >=20 > Signed-off-by: Jerin Jacob Acked-by: Harry van Haaren