[dpdk-dev] [PATCH v3 1/4] net/virtio: fix add pointer checking

Yang, Zhiyong zhiyong.yang at intel.com
Wed Mar 28 09:48:46 CEST 2018



> -----Original Message-----
> From: Tan, Jianfeng
> Sent: Wednesday, March 28, 2018 3:26 PM
> To: Yang, Zhiyong <zhiyong.yang at intel.com>; dev at dpdk.org
> Cc: Wang, Zhihong <zhihong.wang at intel.com>;
> maxime.coquelin at redhat.com; thomas at monjalon.net; Wang, Dong1
> <dong1.wang at intel.com>; Bie, Tiwei <tiwei.bie at intel.com>;
> stable at dpdk.org
> Subject: Re: [PATCH v3 1/4] net/virtio: fix add pointer checking
> 
> 
> 
> On 3/21/2018 11:03 AM, zhiyong.yang at intel.com wrote:
> > It is necessary to add pointer checking because in some case the code
> > will cause crash. For example, the code goes here before memory
> > allocation of rxvq is finished.
> >
> > Fixes: 7365504f77e3("net/virtio: support guest announce")
> > Cc: stable at dpdk.org
> > Signed-off-by: Zhiyong Yang <zhiyong.yang at intel.com>
> 
> This fix is not related to the topic of this patch series, correct?
> Maybe next time, we can put it out of the patch series.
> 
> Reviewed-by: Jianfeng Tan <jianfeng.tan at intel.com>
> 
> Thanks,
> Jianfeng
> 
Thanks for Jianfeng's review.  The bug must be fixed firstly in order 
that code can go in the right way  for virito-user server mode patch. :)

Thanks
Zhiyong


More information about the dev mailing list