net/mlx5e: Fix error handling in RQ memory model registration
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@baidu.com> Reviewed-by:
Zhu Yanjun <yanjun.zhu@linux.dev> Acked-by:
Dragos Tatulea <dtatulea@nvidia.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Loading
Please sign in to comment