diff options
author | Ido Schimmel <idosch@mellanox.com> | 2015-11-19 14:27:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-20 19:06:03 +0300 |
commit | b07a966c700761f86306925fe8aedf7d1060fa6e (patch) | |
tree | baa96436b09213e60e3a0f1708f38cd0f522464e /drivers/net/wan/ixp4xx_hss.c | |
parent | 3b7ad5ece49fe72498b50d28253fd39daead1e14 (diff) | |
download | linux-b07a966c700761f86306925fe8aedf7d1060fa6e.tar.xz |
mlxsw: spectrum: Add error paths to __mlxsw_sp_port_vlans_add
The operation of adding VLANs on a port via switchdev ops can fail and
we need to be prepared for it. If we do not rollback hardware operations
following a failure, hardware and software will remain in an
inconsistent state.
Solve that by adding suitable error paths to __mlxsw_sp_port_vlans_add.
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>
Diffstat (limited to 'drivers/net/wan/ixp4xx_hss.c')
0 files changed, 0 insertions, 0 deletions