Re: [PATCH net-next v2] net/mlx5e: Fix error handling in RQ memory model registration

From: Simon Horman
Date: Thu Jun 26 2025 - 05:08:10 EST


On Thu, Jun 26, 2025 at 01:30:03PM +0800, Fushuai Wang wrote:
> Currently when xdp_rxq_info_reg_mem_model() fails in the XSK path, the
> error handling incorrectly jumps to err_destroy_page_pool. While this
> may not cause errors, we should make it jump to the correct location.
>
> Signed-off-by: Fushuai Wang <wangfushuai@xxxxxxxxx>
> Reviewed-by: Zhu Yanjun <yanjun.zhu@xxxxxxxxx>
> Acked-by: Dragos Tatulea <dtatulea@xxxxxxxxxx>
> ---
> drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)

Thanks for rebasing.
This version applies cleanly and otherwise LGTM.