From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] vhost: call rte_vhost_enable_guest_notification only on enabled queues Date: Thu, 07 Apr 2016 19:20:31 +0200 Message-ID: <6607494.IC538dk6LI@xps13> References: <1459988946-5956-1-git-send-email-rich.lane@bigswitch.com> <20160407154235.GD3080@yliu-dev.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Yuanhan Liu , Tetsuya Mukawa To: Rich Lane Return-path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id E83792BD9 for ; Thu, 7 Apr 2016 19:20:34 +0200 (CEST) Received: by mail-wm0-f43.google.com with SMTP id 191so98989689wmq.0 for ; Thu, 07 Apr 2016 10:20:34 -0700 (PDT) In-Reply-To: <20160407154235.GD3080@yliu-dev.sh.intel.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" > > 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