On Wed, Oct 21, 2026 at 03:25:45PM +0100, Anatoly Burakov wrote:
> If a flow engine fails to initialize, parsers registered by earlier
> engines remain allocated. Pattern matching also leaks its item array
> when allocation of the match result fails.
> 
> Unwind registered parsers on flow initialization failure and free the
> item array on match-result allocation failure.
> 
> Fixes: ff2d0c345c3b ("net/iavf: support generic flow API")
> Cc: [email protected]
> 
> Signed-off-by: Anatoly Burakov <[email protected]>
> ---
>  drivers/net/intel/iavf/iavf_generic_flow.c | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)
> 
Acked-by: Bruce Richardson <[email protected]>

Reply via email to