summaryrefslogtreecommitdiff
path: root/drivers/net/ppp/pppoe.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2015-11-19 14:27:40 +0300
committerDavid S. Miller <davem@davemloft.net>2015-11-20 19:06:03 +0300
commitb07a966c700761f86306925fe8aedf7d1060fa6e (patch)
treebaa96436b09213e60e3a0f1708f38cd0f522464e /drivers/net/ppp/pppoe.c
parent3b7ad5ece49fe72498b50d28253fd39daead1e14 (diff)
downloadlinux-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/ppp/pppoe.c')
0 files changed, 0 insertions, 0 deletions