From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH v2] net/virtio-user: fix overflow Date: Wed, 15 Mar 2017 16:08:20 +0800 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 Cc: maxime.coquelin@redhat.com, dev@dpdk.org, stable@dpdk.org To: Wenfeng Liu Return-path: Content-Disposition: inline In-Reply-To: <1489486196-7456-1-git-send-email-liuwf@arraynetworks.com.cn> 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 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