From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 0AE992BBE; Thu, 13 Jul 2017 18:34:40 +0200 (CEST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Jul 2017 09:34:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,354,1496127600"; d="scan'208";a="126339317" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by fmsmga005.fm.intel.com with ESMTP; 13 Jul 2017 09:34:38 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.133]) by IRSMSX102.ger.corp.intel.com ([169.254.2.211]) with mapi id 14.03.0319.002; Thu, 13 Jul 2017 17:34:37 +0100 From: "De Lara Guarch, Pablo" To: "Doherty, Declan" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] crypto/aesni_mb: fix possible crypto job leak Thread-Index: AQHS+/CYe+3W9ntmDUmFLHh/73aA16JR8+ag Date: Thu, 13 Jul 2017 16:34:36 +0000 Message-ID: References: <20170713033512.25123-1-pablo.de.lara.guarch@intel.com> <3a49844a-e31b-d8fe-d1ef-0c03778bba56@intel.com> In-Reply-To: <3a49844a-e31b-d8fe-d1ef-0c03778bba56@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH] crypto/aesni_mb: fix possible crypto job leak 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: Thu, 13 Jul 2017 16:34:41 -0000 > -----Original Message----- > From: Doherty, Declan > Sent: Thursday, July 13, 2017 4:56 PM > To: De Lara Guarch, Pablo > Cc: dev@dpdk.org; stable@dpdk.org > Subject: Re: [PATCH] crypto/aesni_mb: fix possible crypto job leak >=20 > On 13/07/2017 4:35 AM, Pablo de Lara wrote: > > When dequeueing operations from an AESNI-MB device, crypto jobs are > > dequeued from the internal scheduler in the Multi-buffer library. > > > > If the number of jobs available to retrieve are higher than the number > > of crypto operations that are required, then an extra job is retrieved > > (due to an incorrect conditional), but not used. > > This leads to a job leak and the operation associated to that job will > > not be ever dequeued. > > > > Fixes: 0f548b50a160 ("crypto/aesni_mb: process crypto op on dequeue") > > Cc: stable@dpdk.org > > > > Signed-off-by: Pablo de Lara > > --- >=20 > ... > > >=20 > Acked-by: Declan Doherty Applied to dpdk-next-crypto. Pablo