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 5BB8EA00E6 for ; Wed, 10 Jul 2019 12:11:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D00F22E81; Wed, 10 Jul 2019 12:11:04 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 217DE2C23 for ; Wed, 10 Jul 2019 12:11:02 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Jul 2019 03:11:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,474,1557212400"; d="scan'208";a="249427095" Received: from irsmsx107.ger.corp.intel.com ([163.33.3.99]) by orsmga001.jf.intel.com with ESMTP; 10 Jul 2019 03:11:01 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.164]) by IRSMSX107.ger.corp.intel.com ([169.254.10.251]) with mapi id 14.03.0439.000; Wed, 10 Jul 2019 11:11:00 +0100 From: "Ananyev, Konstantin" To: "Trahe, Fiona" , "dev@dpdk.org" CC: "akhil.goyal@nxp.com" , "Nowak, DamianX" Thread-Topic: [PATCH] crypto/qat: fix seg-fault Thread-Index: AQHVNwVYoFJ0t1OSb0aGl9f+xnvi8qbDn9gQ Date: Wed, 10 Jul 2019 10:10:59 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772580168A53077@irsmsx105.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: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjk2ZDJjZDMtNTYwNy00NGFjLWJkOGItZTZmZGQyOTg2OTliIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiaWlUUnFOMENNK1dNKzc1ZFlYczlqU09GQTVkOFwvYXgrb0N0bzVBZ0dQZDlodVplVDJ6OTdsRTBqWTZxYllVcnMifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 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-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" >=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 > --- Confirm that the patch fixes crash of ipsec-secgw for multi-seg packets. Tested-by: Konstantin Ananyev > -- > 1.7.0.7