From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: Re: [PATCH 5/6] vhost: fix possible dead loop in vector filling Date: Fri, 4 Jan 2019 09:46:34 +0100 Message-ID: References: <20190104040642.27463-1-tiwei.bie@intel.com> <20190104040642.27463-6-tiwei.bie@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@dpdk.org To: Tiwei Bie , zhihong.wang@intel.com, dev@dpdk.org Return-path: In-Reply-To: <20190104040642.27463-6-tiwei.bie@intel.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 1/4/19 5:06 AM, Tiwei Bie wrote: > Fix a possible dead loop which may happen, e.g. when driver > created a loop in the desc list and lens in descs are zero. > > Fixes: fd68b4739d2c ("vhost: use buffer vectors in dequeue path") > Fixes: 2f3225a7d69b ("vhost: add vector filling support for packed ring") > Cc: stable@dpdk.org > > Signed-off-by: Tiwei Bie > --- > lib/librte_vhost/virtio_net.c | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > Reviewed-by: Maxime Coquelin Thanks, Maxime