> -----Original Message----- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Xing, Beilei > Sent: Friday, January 26, 2018 12:58 PM > To: Yong Wang > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4] net/i40e: add null point check and fix mem > leak > > > -----Original Message----- > > From: Yong Wang [mailto:wang.yon...@zte.com.cn] > > Sent: Thursday, January 25, 2018 5:01 PM > > To: Xing, Beilei <beilei.x...@intel.com> > > Cc: dev@dpdk.org; Yong Wang <wang.yon...@zte.com.cn> > > Subject: [PATCH v4] net/i40e: add null point check and fix mem leak > > > > There are several func calls to rte_zmalloc() which don't do null > > point check on the return value. And before return, the memory is not > > freed. Fix it by adding null point check and rte_free(). > > > > Fixes: 078259773da9 ("net/i40e: store ethertype filter") > > Fixes: 425c3325f0b0 ("net/i40e: store tunnel filter") > > Fixes: c50474f31efe ("net/i40e: support tunnel filter to VF") > > Fixes: 5c53c82c8174 ("net/i40e: store flow director filter") > > > > Signed-off-by: Yong Wang <wang.yon...@zte.com.cn> > > Acked-by: Beilei Xing <beilei.x...@intel.com> Applied to dpdk-next-net-intel, with commit log changes. Thanks!
/Helin