[PATCH v4 05/10] net/iavf: fix generic flow error-path leaks
Bruce Richardson
bruce.richardson at intel.com
Thu Oct 22 15:15:06 CEST 2026
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: stable at dpdk.org
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
> drivers/net/intel/iavf/iavf_generic_flow.c | 10 ++++++++--
> 1 file changed, 8 insertions(+), 2 deletions(-)
>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
More information about the dev
mailing list