From: Ferruh Yigit Subject: Re: [PATCH] net/virtio: Fix crash in virtio_dev_free_mbufs Date: Mon, 5 Feb 2018 18:52:00 +0000 Message-ID: <1c9e6fb9-e675-00ce-a456-46f8d20e9a7a@intel.com> References: <20180203145523.28013-1-dharton@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, olivier.matz@6wind.com To: David C Harton , yliu@fridaylinux.org, maxime.coquelin@redhat.com, tiwei.bie@intel.com Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 4B5BB1B66F for ; Mon, 5 Feb 2018 19:52:03 +0100 (CET) In-Reply-To: <20180203145523.28013-1-dharton@cisco.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 2/3/2018 2:55 PM, David C Harton wrote: > virtio_dev_free_mbufs was recently modified to free the > virtqueues but failed to check whether the array was > allocated. Added a check to ensure vqs was non-null. > > Fixes: bdb32afbb610 ("net/virtio: rationalize queue flushing") > Cc: olivier.matz@6wind.com > > Signed-off-by: David C Harton [1] Signed-off-by: David Harton Reviewed-by: Olivier Matz Reviewed-by: Maxime Coquelin Applied to dpdk-next-net/master, thanks. [1] Hi David, Since your previous commits has "David Harton" name, to prevent seen as a new person, I kept same name, fyi.