[dpdk-dev] [PATCH 1/2] virtio: fixed segmentation fault in queue_release

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Oct 20 23:32:41 CEST 2015


2015-10-20 11:44, Stephen Hemminger:
> On Tue, 20 Oct 2015 16:37:41 +0100
> Bernard Iremonger <bernard.iremonger at intel.com> wrote:
> 
> > if input parameter vq is NULL, hw = vq->hw, causes a segmentation fault.
> > 
> > Signed-off-by: Bernard Iremonger <bernard.iremonger at intel.com>
> 
> 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 <stephen at networkplumber.org>

Applied and merged with doc patch, thanks


More information about the dev mailing list