From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 8094B1B4B7; Fri, 4 Jan 2019 18:23:26 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CDE6B394D59; Fri, 4 Jan 2019 17:23:25 +0000 (UTC) Received: from [10.36.112.33] (ovpn-112-33.ams2.redhat.com [10.36.112.33]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 40F65608C6; Fri, 4 Jan 2019 17:23:23 +0000 (UTC) To: Fan Zhang , dev@dpdk.org Cc: tiwei.bie@intel.com, stable@dpdk.org References: <20190104112246.9338-1-roy.fan.zhang@intel.com> <20190104112246.9338-2-roy.fan.zhang@intel.com> From: Maxime Coquelin Message-ID: <165c3b03-98a5-bbfd-527c-122a47ace7a2@redhat.com> Date: Fri, 4 Jan 2019 18:23:21 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: <20190104112246.9338-2-roy.fan.zhang@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Fri, 04 Jan 2019 17:23:25 +0000 (UTC) Subject: Re: [dpdk-dev] [PATCH 1/2] vhost/crypto: fix possible dead loop 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: Fri, 04 Jan 2019 17:23:26 -0000 On 1/4/19 12:22 PM, Fan Zhang wrote: > This patch fixes a possible infinite loop caused by incorrect > descriptor chain created by the driver. > > Cc: stable@dpdk.org > Fixes: 3bb595ecd682 ("vhost/crypto: add request handler") > > Signed-off-by: Fan Zhang > --- > lib/librte_vhost/vhost_crypto.c | 121 +++++++++++++++++++++++++++------------- > 1 file changed, 82 insertions(+), 39 deletions(-) > Reviewed-by: Maxime Coquelin Thanks, Maxime