diff options
author | 2022-06-21 11:33:37 +0300 | |
---|---|---|
committer | 2022-06-22 12:56:57 +0100 | |
commit | c96a9919c79e61e791c561a9c9c2ce56371866a1 (patch) | |
tree | 328bc8832232222cccc0cc18d5bd3b9b8528e946 /net/unix | |
parent | mlxsw: spectrum_switchdev: Simplify mlxsw_sp_port_mc_disabled_set() (diff) | |
download | linux-dev-c96a9919c79e61e791c561a9c9c2ce56371866a1.tar.xz linux-dev-c96a9919c79e61e791c561a9c9c2ce56371866a1.zip |
mlxsw: spectrum_switchdev: Add error path in mlxsw_sp_port_mc_disabled_set()
The above mentioned function just returns an error in case that
mlxsw_sp_bridge_ports_flood_table_set() fails. That means that the previous
configurations are not cleaned.
Fix it by adding error path to clean the configurations in case of error.
Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions