[PATCH v1 1/1] net/nbl: fix Leonis resource ops cleanup

Stephen Hemminger stephen at networkplumber.org
Thu Dec 3 21:25:48 CET 2026


On Wed,  2 Dec 2026 11:08:50 +0800
Dimon Zhao <dimon.zhao at nebula-matrix.com> wrote:

> The Leonis resource ops table is allocated with calloc(). If Tx/Rx ops
> setup fails, the error path releases the table with rte_free().
> 
> Free the table with free() and clear the pointer on setup failure.
> 
> Fixes: c2d6a1b7a491 ("net/nbl: add resource layer")
> Cc: stable at dpdk.org
> Signed-off-by: Dimon Zhao <dimon.zhao at nebula-matrix.com>
> ---
 

Applied to next-net


More information about the stable mailing list