aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix
diff options
context:
space:
mode:
authorAmit Cohen <amcohen@nvidia.com>2022-06-21 11:33:37 +0300
committerDavid S. Miller <davem@davemloft.net>2022-06-22 12:56:57 +0100
commitc96a9919c79e61e791c561a9c9c2ce56371866a1 (patch)
tree328bc8832232222cccc0cc18d5bd3b9b8528e946 /net/unix
parentmlxsw: spectrum_switchdev: Simplify mlxsw_sp_port_mc_disabled_set() (diff)
downloadlinux-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