From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 8CCC21B3B3; Mon, 15 Apr 2019 20:06:22 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Apr 2019 11:06:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,354,1549958400"; d="scan'208";a="151076440" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by orsmga002.jf.intel.com with ESMTP; 15 Apr 2019 11:06:04 -0700 Received: from irsmsx101.ger.corp.intel.com ([169.254.1.115]) by IRSMSX109.ger.corp.intel.com ([169.254.13.189]) with mapi id 14.03.0415.000; Mon, 15 Apr 2019 19:06:03 +0100 From: "Trahe, Fiona" To: "Kovacevic, Marko" , "dev@dpdk.org" CC: "Mcnamara, John" , "Zhao, XinfengX" , "akhil.goyal@nxp.com" , "Kovacevic, Marko" , "Zhang, Roy Fan" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 3/3] cryptodev: fix uninitialized session clear Thread-Index: AQHU85y1fXbb50hmK0OLDEEJcXXILqY9hFyQ Date: Mon, 15 Apr 2019 18:06:02 +0000 Message-ID: <348A99DA5F5B7549AA880327E580B43589741672@IRSMSX101.ger.corp.intel.com> References: <20190411141656.27720-1-marko.kovacevic@intel.com> <20190415150449.44799-1-marko.kovacevic@intel.com> <20190415150449.44799-3-marko.kovacevic@intel.com> In-Reply-To: <20190415150449.44799-3-marko.kovacevic@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzU1ZWUzZDctODcyNC00NjI5LTk2NjItZThjMTc3YjMyNGI0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiMWUzY3EwMFpOK2hRdVZqOHZMNmpjeEltMjM3M2JCVWRMUGlWZHJVUHM0RTFmUzBJdWRKaU1KMVl5eWtJT1laeCJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action 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 3/3] cryptodev: fix uninitialized session clear X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Apr 2019 18:06:23 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Marko Kovacevic > Sent: Monday, April 15, 2019 4:05 PM > To: dev@dpdk.org > Cc: Mcnamara, John ; Zhao, XinfengX ; > akhil.goyal@nxp.com; Kovacevic, Marko ; Zhang,= Roy Fan > ; stable@dpdk.org > Subject: [dpdk-dev] [PATCH v2 3/3] cryptodev: fix uninitialized session c= lear >=20 > added check to see if a session for a device > has been initialised if it has return 0. >=20 > Fixes: 5d6c73dd5938 ("cryptodev: add reference count to session private d= ata") > Cc: roy.fan.zhang@intel.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Marko Kovacevic Acked-by: Fiona Trahe From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 7E8DDA00E6 for ; Mon, 15 Apr 2019 20:06:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3AAB41B3B5; Mon, 15 Apr 2019 20:06:24 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 8CCC21B3B3; Mon, 15 Apr 2019 20:06:22 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Apr 2019 11:06:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,354,1549958400"; d="scan'208";a="151076440" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by orsmga002.jf.intel.com with ESMTP; 15 Apr 2019 11:06:04 -0700 Received: from irsmsx101.ger.corp.intel.com ([169.254.1.115]) by IRSMSX109.ger.corp.intel.com ([169.254.13.189]) with mapi id 14.03.0415.000; Mon, 15 Apr 2019 19:06:03 +0100 From: "Trahe, Fiona" To: "Kovacevic, Marko" , "dev@dpdk.org" CC: "Mcnamara, John" , "Zhao, XinfengX" , "akhil.goyal@nxp.com" , "Kovacevic, Marko" , "Zhang, Roy Fan" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 3/3] cryptodev: fix uninitialized session clear Thread-Index: AQHU85y1fXbb50hmK0OLDEEJcXXILqY9hFyQ Date: Mon, 15 Apr 2019 18:06:02 +0000 Message-ID: <348A99DA5F5B7549AA880327E580B43589741672@IRSMSX101.ger.corp.intel.com> References: <20190411141656.27720-1-marko.kovacevic@intel.com> <20190415150449.44799-1-marko.kovacevic@intel.com> <20190415150449.44799-3-marko.kovacevic@intel.com> In-Reply-To: <20190415150449.44799-3-marko.kovacevic@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzU1ZWUzZDctODcyNC00NjI5LTk2NjItZThjMTc3YjMyNGI0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiMWUzY3EwMFpOK2hRdVZqOHZMNmpjeEltMjM3M2JCVWRMUGlWZHJVUHM0RTFmUzBJdWRKaU1KMVl5eWtJT1laeCJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 3/3] cryptodev: fix uninitialized session clear X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190415180602.U22Ap2Sq9nb3NvpXD-auiE19gsXgFKv61De3mC6l4n8@z> > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Marko Kovacevic > Sent: Monday, April 15, 2019 4:05 PM > To: dev@dpdk.org > Cc: Mcnamara, John ; Zhao, XinfengX ; > akhil.goyal@nxp.com; Kovacevic, Marko ; Zhang,= Roy Fan > ; stable@dpdk.org > Subject: [dpdk-dev] [PATCH v2 3/3] cryptodev: fix uninitialized session c= lear >=20 > added check to see if a session for a device > has been initialised if it has return 0. >=20 > Fixes: 5d6c73dd5938 ("cryptodev: add reference count to session private d= ata") > Cc: roy.fan.zhang@intel.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Marko Kovacevic Acked-by: Fiona Trahe