From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id DCA91B62; Sat, 27 Oct 2018 02:15:22 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 772A321F4C; Fri, 26 Oct 2018 20:15:22 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 26 Oct 2018 20:15:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=K/n6gl1TiYZX0v7WQdUY8oF+btMnXrJL07QP37c3zUg=; b=MedJrprhfpUp QvleDuV5MahQONWO+T/ykLaFO8RGJ15aiFS4diI9kQX8fTLamSFTTPsvz3PHO/CF HlkH2mYAjXcHEv0HD0PSekyUUGuDLNh56C3vqVB/MdXmUl3OEb98BB5sJR1M8hH7 kS5K7bPaTeadCLBmCM5zYxbIemsa/Hs= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=K/n6gl1TiYZX0v7WQdUY8oF+btMnXrJL07QP37c3z Ug=; b=Qq3Tf06iPyYj4CvAgsdrG7fkN4Ys/rXZ7BKrj4JpwgS8Se43286NW2JKv ccH0phU4RPiePphYhuo3NPkL/3m/juuyae58bUFWLaxlQYYtwx2YPe2ykjEixJeV xNqzLT7p/W/ZM5wr2i/+3OfGXAjSPygdOYPbRmWTmm6WQMK+IZOpNbupBzmzuIoJ 5SQRvGHyChmbU7SKxxzD89xGZH8TxZ0I3hB0QIn6qmyq/DqV1xe8Vl/el0Ngl81f 5+JSDxJAIcggsHziU4BR/Dqgr7IIF4qOvgBz6XSehKfJAMWV8u8Og/SxTs/xxAA7 fsLSjvV6B0UbI7bSLF5QpB7pbMdGw== X-ME-Sender: X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id F20F6102DD; Fri, 26 Oct 2018 20:15:20 -0400 (EDT) From: Thomas Monjalon To: "Trahe, Fiona" Cc: dev@dpdk.org, "Kusztal, ArkadiuszX" , "akhil.goyal@nxp.com" , "Jozwiak, TomaszX" , "Cel, TomaszX" , "stable@dpdk.org" Date: Sat, 27 Oct 2018 02:15:26 +0200 Message-ID: <4865602.c1DW6WG4oq@xps> In-Reply-To: <06EE24DD0B19E248B53F6DC8657831559EB482@HASMSX110.ger.corp.intel.com> References: <1540337982-12678-1-git-send-email-fiona.trahe@intel.com> <06EE24DD0B19E248B53F6DC8657831559EB482@HASMSX110.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] common/qat: fix for invalid response from firmware 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: Sat, 27 Oct 2018 00:15:23 -0000 24/10/2018 17:11, Kusztal, ArkadiuszX: > From: Trahe, Fiona > > > > Check that the firmware response has a bit set indicating it's valid before > > dereferencing the rest of the response contents. > > > > Fixes: 0bdd36e12245 ("crypto/qat: make dequeue function generic") > > Cc: stable@dpdk.org > > > > Signed-off-by: Fiona Trahe > > Acked-by: Arek Kusztal Applied, thanks