From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tetsuya Mukawa Subject: Re: [PATCH] vhost: call rte_vhost_enable_guest_notification only on enabled queues Date: Fri, 8 Apr 2016 10:45:33 +0900 Message-ID: <57070D3D.2070700@igel.co.jp> References: <1459988946-5956-1-git-send-email-rich.lane@bigswitch.com> <20160407154235.GD3080@yliu-dev.sh.intel.com> <6607494.IC538dk6LI@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, Yuanhan Liu To: Thomas Monjalon , Rich Lane Return-path: Received: from mail-pf0-f174.google.com (mail-pf0-f174.google.com [209.85.192.174]) by dpdk.org (Postfix) with ESMTP id 2F3AE2B89 for ; Fri, 8 Apr 2016 03:45:35 +0200 (CEST) Received: by mail-pf0-f174.google.com with SMTP id e128so66313429pfe.3 for ; Thu, 07 Apr 2016 18:45:35 -0700 (PDT) In-Reply-To: <6607494.IC538dk6LI@xps13> 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 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. I've tested it also today, and seems to be good. Thanks, Tetsuya