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]>
- [PATCH v4 00/10] IAVF Fixes Anatoly Burakov
- [PATCH v4 04/10] net/iavf: fix memory leaks around I... Anatoly Burakov
- Re: [PATCH v4 04/10] net/iavf: fix memory leaks ... Bruce Richardson
- [PATCH v4 06/10] net/iavf: centralize memory managem... Anatoly Burakov
- Re: [PATCH v4 06/10] net/iavf: centralize memory... Bruce Richardson
- [PATCH v4 07/10] net/iavf: skip RSS teardown during ... Anatoly Burakov
- Re: [PATCH v4 07/10] net/iavf: skip RSS teardown... Bruce Richardson
- [PATCH v4 08/10] net/iavf: remove redundant reset ch... Anatoly Burakov
- Re: [PATCH v4 08/10] net/iavf: remove redundant ... Bruce Richardson
- [PATCH v4 05/10] net/iavf: fix generic flow error-pa... Anatoly Burakov
- Re: [PATCH v4 05/10] net/iavf: fix generic flow ... Bruce Richardson
- [PATCH v4 09/10] net/iavf: fix null engine for egres... Anatoly Burakov
- [PATCH v4 10/10] net/iavf: fix IPsec flow metadata l... Anatoly Burakov
- [PATCH v4 03/10] net/iavf: fix false success on flow... Anatoly Burakov
- Re: [PATCH v4 03/10] net/iavf: fix false success... Bruce Richardson
- [PATCH v4 02/10] net/iavf: do not store ethdev point... Anatoly Burakov
- Re: [PATCH v4 02/10] net/iavf: do not store ethd... Bruce Richardson
- [PATCH v4 01/10] net/iavf: keep device stopped if st... Anatoly Burakov
- Re: [PATCH v4 01/10] net/iavf: keep device stopp... Bruce Richardson
- [PATCH v5 00/10] IAVF Fixes Anatoly Burakov
- [PATCH v5 04/10] net/iavf: fix memory leaks around I... Anatoly Burakov

