Hi, Beilei

> -----Original Message-----
> From: Xing, Beilei
> Sent: Tuesday, November 5, 2019 1:09 PM
> To: Wang, ShougangX <shougangx.w...@intel.com>; dev@dpdk.org
> Cc: Yang, Qiming <qiming.y...@intel.com>; Cao, Yahui
> <yahui....@intel.com>; sta...@dpdk.org
> Subject: RE: [PATCH] net/ice: fix memory release in FDIR
> 
> 
> 
> > -----Original Message-----
> > From: Wang, ShougangX
> > Sent: Tuesday, November 5, 2019 4:44 AM
> > To: dev@dpdk.org
> > Cc: Yang, Qiming <qiming.y...@intel.com>; Xing, Beilei
> > <beilei.x...@intel.com>; Cao, Yahui <yahui....@intel.com>; Wang,
> > ShougangX <shougangx.w...@intel.com>; sta...@dpdk.org
> > Subject: [PATCH] net/ice: fix memory release in FDIR
> >
> > To avoid wild pointer and memory leak, following resources management
> > should be added.
> > - Check if the FDIR Memzone already exists before reserving.
> > - Free FDIR memzone when teardown and other failure scenarios.
> > - Set pointers to NULL after free them.
> > - Release all counter resources when teardown.
> 
> Thanks for the patch, but could you split the patch according to different 
> issues?
> 
> Beilei

OK, I will split them in next version.

Thanks.
Shougang

Reply via email to