Hi, Beilei > -----Original Message----- > From: Xing, Beilei > Sent: Tuesday, November 5, 2019 1:09 PM > To: Wang, ShougangX <[email protected]>; [email protected] > Cc: Yang, Qiming <[email protected]>; Cao, Yahui > <[email protected]>; [email protected] > Subject: RE: [PATCH] net/ice: fix memory release in FDIR > > > > > -----Original Message----- > > From: Wang, ShougangX > > Sent: Tuesday, November 5, 2019 4:44 AM > > To: [email protected] > > Cc: Yang, Qiming <[email protected]>; Xing, Beilei > > <[email protected]>; Cao, Yahui <[email protected]>; Wang, > > ShougangX <[email protected]>; [email protected] > > 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

