From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=D1paS3CkjIvF4Kni5hYPjVixvSJLs2U7c2rbXA7BfeQ=; b=RMr7MkS1pDE1yTMOiXpVpMdnlTvCB5I1h8spqKo8yVG/AFbStavKSbZDLwrYhKW0mR 0obgj6gILGmH0FBdaG34v8o5ooCEfpQ0pzSfly4J3r4vgU/Yzs9QDV/whq4ywdps+ySH Ykzu7sIzsLVkrAgLr2NibbWnuVUSgUd8bz2Y7TJCytcJ4kM/MNyLUwExX3od8331EKCT +WQNKr+a+PaS8dSebpHhHHn8EwVh7R3N+SL3PjwEo02dnenMj82I8C/Be4KpRgz+7lLS +tnEqyIVb8N7Gl716oT3ATQzDjT8qupXQqWAOkpWU3nYKT/GGHxiHEvH37NnbzTxjO0d WooA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=D1paS3CkjIvF4Kni5hYPjVixvSJLs2U7c2rbXA7BfeQ=; b=EkVFlwgjMD9l9MZDv0MnDFPOMQe7n5iylIiUTZYLzjKEucyX7e98JSCm0cAoEUQZsr ahUKws1ZuO09T4X9gwzlVG0RPzLMeYIkYAN3WB1u7dz43Y5SAAuCEuX56vlCWZhBw/tt 7t9vVZJeaA3Rljqu36QMfjS8Pl33VQbX7B+kzlqhA4c7LCU3YyQMW80t0NztXCOH/l9I FMg+pK+UXCMhJxcgT8VPGNDYdMe9jS550Y3dzD+uS58HuNSs4P263jv/iJ9+45LtVIUJ qRQmWXZE/euX+kW72fSAEhfxJ4eirCbFy7RDjKckvS+m1xSTV0E7256C//oFrwhQazXV 7Skw== X-Gm-Message-State: AD7BkJLrIHI3+EELinqI1mzaZedfYE/nUFGtO2RdAoWB7EbNLFXS2HbKs6H4FP80UaIDKqmm X-Received: by 10.194.174.231 with SMTP id bv7mr4870993wjc.17.1460049634769; Thu, 07 Apr 2016 10:20:34 -0700 (PDT) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id a1sm9405842wje.43.2016.04.07.10.20.33 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 07 Apr 2016 10:20:34 -0700 (PDT) From: Thomas Monjalon To: Rich Lane Cc: dev@dpdk.org, Yuanhan Liu , Tetsuya Mukawa Date: Thu, 07 Apr 2016 19:20:31 +0200 Message-ID: <6607494.IC538dk6LI@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20160407154235.GD3080@yliu-dev.sh.intel.com> References: <1459988946-5956-1-git-send-email-rich.lane@bigswitch.com> <20160407154235.GD3080@yliu-dev.sh.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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: Thu, 07 Apr 2016 17:20:35 -0000 > > 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