[dpdk-dev] [PATCH v2] net/ixgbe: fix using heap pointer after free
Zhang, Qi Z
qi.z.zhang at intel.com
Fri Jul 9 09:29:46 CEST 2021
> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Wang, Haiyue
> Sent: Friday, July 9, 2021 12:35 PM
> To: Yu, DapengX <dapengx.yu at intel.com>
> Cc: dev at dpdk.org; stable at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v2] net/ixgbe: fix using heap pointer after free
>
> > -----Original Message-----
> > From: Yu, DapengX <dapengx.yu at intel.com>
> > Sent: Friday, July 9, 2021 11:15
> > To: Wang, Haiyue <haiyue.wang at intel.com>
> > Cc: dev at dpdk.org; Yu, DapengX <dapengx.yu at intel.com>; stable at dpdk.org
> > Subject: [PATCH v2] net/ixgbe: fix using heap pointer after free
> >
> > From: Dapeng Yu <dapengx.yu at intel.com>
> >
> > The original code use a heap pointer after it is freed.
> > This patch fix it.
> >
> > Fixes: a14de8b498d1 ("net/ixgbe: destroy consistent filter")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Dapeng Yu <dapengx.yu at intel.com>
> > ---
> > V2:
> > * Simplify the patch according to maintainer's comment:
> > only one "pmd_flow" in the list, so just "break;" is fine.
> > ---
> > drivers/net/ixgbe/ixgbe_flow.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
>
> Good catch, thanks!
>
> Reviewed-by: Haiyue Wang <haiyue.wang at intel.com>
Applied to dpdk-next-net-intel.
Thanks
Qi
>
>
> > --
> > 2.27.0
More information about the dev
mailing list