[dpdk-stable] [DPDK] net/virtio: fix check scatter on all Rx queues

David Marchand david.marchand at redhat.com
Thu Sep 30 20:43:50 CEST 2021


On Wed, Sep 22, 2021 at 10:13 AM Peng, ZhihongX <zhihongx.peng at intel.com> wrote:
> > On 15/09/2021 19:37, David Marchand wrote:
> > > On Wed, Aug 4, 2021 at 10:36 AM <zhihongx.peng at intel.com> wrote:
> > >>
> > >> From: Zhihong Peng <zhihongx.peng at intel.com>
> > >>
> > >> This patch fixes the wrong way to obtain virtqueue.
> > >> The end of virtqueue cannot be judged based on whether the array is
> > >> NULL.
> > >
> > > Indeed, good catch.
> > >
> > > I can reproduce a crash with v20.11.3 which has backport of 4e8169eb0d2d.
> > > I can not see it with main: maybe due to a lucky allocation or size
> > > requested to rte_zmalloc... ?
> > >
>
> This problem was discovered through google asan, we have submitted DPDK ASan patch.
> http://patchwork.dpdk.org/project/dpdk/patch/20210918074155.872358-1-zhihongx.peng@intel.com/

Can you work on a v2?
Maxime had comments.
https://inbox.dpdk.org/dev/e1c512c1-9766-1cd8-816b-8a77d13d53d6@redhat.com/


-- 
David Marchand



More information about the stable mailing list