> -----Original Message-----
> From: Yong Wang [mailto:[email protected]]
> Sent: Thursday, January 25, 2018 5:01 PM
> To: Xing, Beilei <[email protected]>
> Cc: [email protected]; Yong Wang <[email protected]>
> 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 <[email protected]>

Acked-by: Beilei Xing <[email protected]>

Reply via email to