]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Fix some error handling paths in 'mlx5e_tc_add_fdb_flow()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 6 Nov 2021 17:08:11 +0000 (18:08 +0100)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 3 Dec 2021 00:53:09 +0000 (16:53 -0800)
commitf7695ac66bca29016961d4a80fe957912427dab6
treea31e343d59fbfe1f6872fb3132ce31f462260b28
parentf8603b9984e3cb1a8e7356858174bef55ca00307
net/mlx5: Fix some error handling paths in 'mlx5e_tc_add_fdb_flow()'

All the error handling paths of 'mlx5e_tc_add_fdb_flow()' end to 'err_out'
where 'flow_flag_set(flow, FAILED);' is called.

All but the new error handling paths added by the commits given in the
Fixes tag below.

Fix these error handling paths and branch to 'err_out'.

Fixes: fa5d38f63735 ("net/mlx5e: Add indirect tc offload of ovs internal port")
Fixes: 9333d1c4f520 ("net/mlx5: Support internal port as decap route device")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c