From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH] vhost: call rte_vhost_enable_guest_notification only on enabled queues Date: Thu, 7 Apr 2016 23:42:35 +0800 Message-ID: <20160407154235.GD3080@yliu-dev.sh.intel.com> References: <1459988946-5956-1-git-send-email-rich.lane@bigswitch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, Tetsuya Mukawa To: Rich Lane Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id D86742BFA for ; Thu, 7 Apr 2016 17:40:43 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1459988946-5956-1-git-send-email-rich.lane@bigswitch.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Apr 06, 2016 at 05:29:06PM -0700, Rich Lane 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 Thanks. --yliu