From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 903AD2C08 for ; Fri, 8 Apr 2016 08:13:04 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 07 Apr 2016 23:13:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,449,1455004800"; d="scan'208";a="950675655" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.67.191]) by orsmga002.jf.intel.com with ESMTP; 07 Apr 2016 23:12:59 -0700 Date: Fri, 8 Apr 2016 14:14:58 +0800 From: Yuanhan Liu To: Tetsuya Mukawa Cc: Thomas Monjalon , Rich Lane , dev@dpdk.org Message-ID: <20160408061458.GF3080@yliu-dev.sh.intel.com> References: <1459988946-5956-1-git-send-email-rich.lane@bigswitch.com> <20160407154235.GD3080@yliu-dev.sh.intel.com> <6607494.IC538dk6LI@xps13> <57070D3D.2070700@igel.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57070D3D.2070700@igel.co.jp> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH] vhost: call rte_vhost_enable_guest_notification only on enabled queues 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, 08 Apr 2016 06:13:05 -0000 On Fri, Apr 08, 2016 at 10:45:33AM +0900, Tetsuya Mukawa wrote: > On 2016/04/08 2:20, Thomas Monjalon wrote: > >>> If the vhost PMD were configured with more queues than the guest, the old > >>> code would segfault in rte_vhost_enable_guest_notification due to a NULL > >>> virtqueue pointer. > >>> > >>> Fixes: ee584e9710b9 ("vhost: add driver on top of the library") > >>> Signed-off-by: Rich Lane > >> Acked-by: Yuanhan Liu > > Applied, thanks > > Hi Rich and Yuanhan, > > I am sorry for late reply. I was out of office yesterday. Tetsuya, no worry! Man takes leaves, and isn't the reason we have 2 or more maintainers on some blocks? :) --yliu > I've tested it also today, and seems to be good. > > Thanks, > Tetsuya