diff options
author | Amit Cohen <amcohen@nvidia.com> | 2022-06-21 11:33:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-06-22 12:56:57 +0100 |
commit | c96a9919c79e61e791c561a9c9c2ce56371866a1 (patch) | |
tree | 328bc8832232222cccc0cc18d5bd3b9b8528e946 /net/unix/af_unix.c | |
parent | a6f43b1dad800d816d62dc478e68eb5230a9465c (diff) |
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/af_unix.c')
0 files changed, 0 insertions, 0 deletions