Skip to content
Commit 46538a6f authored by Dan Carpenter's avatar Dan Carpenter Committed by Greg Kroah-Hartman
Browse files

net/mlx5e: Fix error codes in alloc_branch_attr()



[ Upstream commit d792e5f7 ]

Set the error code if set_branch_dest_ft() fails.

Fixes: ccbe3300 ("net/mlx5e: TC, Don't offload post action rule if not supported")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 186854bd
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