From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 1/2] virtio: fixed segmentation fault in queue_release Date: Tue, 20 Oct 2015 23:32:41 +0200 Message-ID: <1982089.GehIElVukW@xps13> References: <20151020114407.58972ed5@xeon-e3> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Bernard Iremonger Return-path: Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by dpdk.org (Postfix) with ESMTP id C8B808E93 for ; Tue, 20 Oct 2015 23:33:45 +0200 (CEST) Received: by wicll6 with SMTP id ll6so64626210wic.0 for ; Tue, 20 Oct 2015 14:33:45 -0700 (PDT) In-Reply-To: <20151020114407.58972ed5@xeon-e3> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-10-20 11:44, Stephen Hemminger: > On Tue, 20 Oct 2015 16:37:41 +0100 > Bernard Iremonger wrote: > > > if input parameter vq is NULL, hw = vq->hw, causes a segmentation fault. > > > > Signed-off-by: Bernard Iremonger > > This could only happen for the case of the control vq. > Others are guaranteed to be non NULL by rte_ethdev. > > Acked-by: Stephen Hemminger Applied and merged with doc patch, thanks