]> 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>
Thu, 23 Dec 2021 04:38:49 +0000 (20:38 -0800)
commit58f2c9af6ade2b149964b8df62667788a416b736
tree6c5e47cbf81acca55470b16f26135376b3b1b1f7
parent941ef409f21dcf5a7196b465a1235108202f9ed7
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: dc7f6661d5d5 ("net/mlx5e: Add indirect tc offload of ovs internal port")
Fixes: e94cae3b4c31 ("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>
(cherry picked from commit 31108d142f3632970f6f3e0224bd1c6781c9f87d)
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c