]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 26 Aug 2022 08:54:30 +0000 (10:54 +0200)
commit83132846528f9164a6bd68b50ebb0e41a2c0d50e
tree966e81f305f988a1aebed195d638086e184db135
parentd039de89f3fff1665c8fc08b6c5b8931b50dfe70
net/mlx5: Fix some error handling paths in 'mlx5e_tc_add_fdb_flow()'

BugLink: https://bugs.launchpad.net/bugs/1983498
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: 166f431ec6be ("net/mlx5e: Add indirect tc offload of ovs internal port")
Fixes: b16eb3c81fe2 ("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)
(cherry picked from commit 4390c6edc0fb390e699d0f886f45575dfeafeb4b)
Signed-off-by: Zachary Tahenakos <zachary.tahenakos@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c