From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 4A8D75424 for ; Fri, 15 Jul 2016 14:11:44 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP; 15 Jul 2016 05:11:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,368,1464678000"; d="scan'208";a="734686024" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.67.162]) by FMSMGA003.fm.intel.com with ESMTP; 15 Jul 2016 05:11:43 -0700 Date: Fri, 15 Jul 2016 20:14:49 +0800 From: Yuanhan Liu To: Ilya Maximets Cc: dev@dpdk.org, Huawei Xie , Rich Lane , Dyasly Sergey , Heetae Ahn , Jianfeng Tan , Stephen Hemminger , Thomas Monjalon Message-ID: <20160715121449.GG5146@yliu-dev.sh.intel.com> References: <1463748604-27251-1-git-send-email-i.maximets@samsung.com> <1468581305-11756-1-git-send-email-i.maximets@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1468581305-11756-1-git-send-email-i.maximets@samsung.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH v3 0/2] vhost: fix segfault on bad descriptor address X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2016 12:11:44 -0000 On Fri, Jul 15, 2016 at 02:15:03PM +0300, Ilya Maximets wrote: > Version 3: > * Patch splitted in two. > * Applied workaround from Rich Lane and added comment about > performance issue with some compilers and 'unlikely' macro. Thanks a lot for the patches. Acked-by: Yuanhan Liu --yliu > > Version 2: > * Rebased on top of current master. > * host's address now checked in meargeable case, > because needed refactoring already done. > * Commit-message changed because old issue with > virtio reload accidentially fixed by commit > 0823c1cb0a73. > > Ilya Maximets (2): > vhost: fix using of bad return value on mergeable enqueue > vhost: do sanity check for ring descriptor address > > lib/librte_vhost/vhost_rxtx.c | 33 ++++++++++++++++++++++++++------- > 1 file changed, 26 insertions(+), 7 deletions(-) > > -- > 2.7.4