From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 0644E214A; Wed, 15 Mar 2017 09:10:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1489565402; x=1521101402; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Qdvk4wVW5UIT8uF7w3Tcb26ALsiLW9Z7vSFY+Lxgafk=; b=I0sqRNJuVFq2D/ZCHOSthalRRcAk5ip1dJann/Wa+yq5bkScMlFhBVT2 qF8pYZlXR0YTQTOwKv1ZJp9PqxqOxw==; Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Mar 2017 01:10:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,167,1486454400"; d="scan'208";a="75579140" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.67.162]) by orsmga005.jf.intel.com with ESMTP; 15 Mar 2017 01:09:59 -0700 Date: Wed, 15 Mar 2017 16:08:20 +0800 From: Yuanhan Liu To: Wenfeng Liu Cc: maxime.coquelin@redhat.com, dev@dpdk.org, stable@dpdk.org Message-ID: <20170315080820.GM18844@yliu-dev.sh.intel.com> References: <1489486196-7456-1-git-send-email-liuwf@arraynetworks.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1489486196-7456-1-git-send-email-liuwf@arraynetworks.com.cn> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-stable] [PATCH v2] net/virtio-user: fix overflow X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Mar 2017 08:10:02 -0000 On Tue, Mar 14, 2017 at 10:09:56AM +0000, Wenfeng Liu wrote: > virtio-user limits the qeueue number to 8 but provides no limit > check against the queue number input from user. If a bigger queue > number (> 8) is given, there is an overflow issue. Doing a sanity > check could avoid it. > > Fixes: 37a7eb2ae816 ("net/virtio-user: add device emulation layer") > Cc: stable@dpdk.org > > Signed-off-by: Wenfeng Liu Applied to dpdk-next-virtio. Thanks. --yliu