Commit 7012d4f3 authored by Fushuai Wang's avatar Fushuai Wang Committed by David S. Miller
Browse files

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: default avatarFushuai Wang <wangfushuai@baidu.com>
Reviewed-by: default avatarZhu Yanjun <yanjun.zhu@linux.dev>
Acked-by: default avatarDragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 20a0c20f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment