From patchwork Fri Jan 4 11:22:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fan Zhang X-Patchwork-Id: 49443 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BE5F51B48B; Fri, 4 Jan 2019 12:22:50 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 3FAF91B442 for ; Fri, 4 Jan 2019 12:22:49 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Jan 2019 03:22:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,438,1539673200"; d="scan'208";a="135286813" Received: from silpixa00398673.ir.intel.com (HELO silpixa00398673.ger.corp.intel.com) ([10.237.223.54]) by fmsmga001.fm.intel.com with ESMTP; 04 Jan 2019 03:22:47 -0800 From: Fan Zhang To: dev@dpdk.org Cc: maxime.coquelin@redhat.com, tiwei.bie@intel.com Date: Fri, 4 Jan 2019 11:22:44 +0000 Message-Id: <20190104112246.9338-1-roy.fan.zhang@intel.com> X-Mailer: git-send-email 2.13.6 Subject: [dpdk-dev] [PATCH 0/2] vhost/crypto: some fixes 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" This patchset fixes two possible issues in vhost crypto. They are: - The possible dead loop issue - The out of bound access issue. The fixes are in line with the following patchset "[dpdk-dev] [PATCH 0/6] Some fixes for vhost" (https://mails.dpdk.org/archives/dev/2019-January/122372.html) Fan Zhang (2): vhost/crypto: fix possible dead loop vhost/crypto: fix possible out of bound access lib/librte_vhost/vhost_crypto.c | 140 ++++++++++++++++++++++++++++------------ 1 file changed, 100 insertions(+), 40 deletions(-)