From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D63E3A00E6 for ; Wed, 10 Jul 2019 17:04:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0E3E62F42; Wed, 10 Jul 2019 17:04:00 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 042C614E8 for ; Wed, 10 Jul 2019 17:03:57 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Jul 2019 08:03:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,475,1557212400"; d="scan'208";a="168332329" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga003.jf.intel.com with ESMTP; 10 Jul 2019 08:03:56 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 10 Jul 2019 08:03:56 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 10 Jul 2019 08:03:55 -0700 Received: from lcsmsx152.ger.corp.intel.com (10.186.165.231) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 10 Jul 2019 08:03:55 -0700 Received: from hasmsx107.ger.corp.intel.com ([169.254.2.129]) by LCSMSX152.ger.corp.intel.com ([169.254.4.180]) with mapi id 14.03.0439.000; Wed, 10 Jul 2019 18:03:53 +0300 From: "Nowak, DamianX" To: "Trahe, Fiona" , "dev@dpdk.org" CC: "akhil.goyal@nxp.com" , "Ananyev, Konstantin" Thread-Topic: [PATCH] crypto/qat: fix seg-fault Thread-Index: AQHVNwVTsVXOZIwj0kiKlx2LDHfH/6bD8pGA Date: Wed, 10 Jul 2019 15:03:52 +0000 Message-ID: <6976F642F4CB7B4C9D17DE41C99F326055D07757@hasmsx107.ger.corp.intel.com> References: <1562752404-14017-1-git-send-email-fiona.trahe@intel.com> In-Reply-To: <1562752404-14017-1-git-send-email-fiona.trahe@intel.com> Accept-Language: pl-PL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjViNzY0ODMtZmVmZi00NGQ1LWExOTQtYjE0OGRjZTkyNDk4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiT0VwQXZHQklURzhFaU1MeWFUWVRsSlhOVis1ZnYxSDhjYndXYytRSlAwR1U1TmFaVDZtXC9oWGw3XC9VUE50RlpcLyJ9 x-originating-ip: [10.184.70.10] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] crypto/qat: fix seg-fault 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" > -----Original Message----- > From: Trahe, Fiona > Sent: Wednesday, July 10, 2019 11:53 > To: dev@dpdk.org > Cc: akhil.goyal@nxp.com; Trahe, Fiona ; Nowak, > DamianX ; Ananyev, Konstantin > > Subject: [PATCH] crypto/qat: fix seg-fault >=20 > Fix for seg-faults occurring: > 1) in buffer re-alignment in-place sgl case > 2) case where data end is exactly at end of an sgl segment. > Also renamed variable and increased comments for clearer code. >=20 > Fixes: 40002f6c2a24 ("crypto/qat: extend support for digest-encrypted aut= h- > cipher") >=20 > Signed-off-by: Fiona Trahe Acked-by: Damian Nowak