[PATCH v2 2/2] net/ice: fix memory leak in raw pattern parse

Burakov, Anatoly anatoly.burakov at intel.com
Tue Oct 7 17:22:23 CEST 2025


On 10/7/2025 2:42 PM, Anatoly Burakov wrote:
> Currently, when parsing rte_flow raw type items, we allocate a bunch of
> internal structures, but if errors happen down the line we just quit and
> never free the memory we just allocated. Fix this by adding an error
> cleanup section.
> 
> Fixes: 25be39cc1760 ("net/ice: enable protocol agnostic flow offloading in FDIR")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
> 

Fixline might be incorrect, i need to dig in a little more, as 
rte_malloc calls weren't there in that specific commit.

-- 
Thanks,
Anatoly


More information about the stable mailing list