Skip to content
Commit 87883929 authored by Saeed Mahameed's avatar Saeed Mahameed
Browse files

net/mlx5: Fix error handling in mlx5_load()



In case mlx5_core_set_hca_defaults fails, it should jump to
mlx5_cleanup_fs, fix that.

Fixes: c85023e1 ("IB/mlx5: Add raw ethernet local loopback support")
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
Reviewed-by: default avatarHuy Nguyen <huyn@mellanox.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent a6cd0d2d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment