mlxsw: spectrum: Don't abort on first error when removing VLANs
authorIdo Schimmel <idosch@mellanox.com>
Wed, 24 Aug 2016 10:00:25 +0000 (12:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Aug 2016 16:41:12 +0000 (09:41 -0700)
commit640be7b7177dbe026cf7ae387b21f6917f0fc44f
tree097a19dd92b0e6172b95435a4c8f22ef7492a45a
parentf7a8f6cec38a549ffcc559a9eb14cab539100d97
mlxsw: spectrum: Don't abort on first error when removing VLANs

When removing VLANs from the VLAN-aware bridge we shouldn't abort on the
first error, as we'll otherwise have resources that will never be freed.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c