提交 f07ff014 编写于 作者: P Petr Machata 提交者: David S. Miller

mlxsw: spectrum_switchdev: Postpone respin on object deletion

VLAN deletion notifications are emitted before the relevant change is
projected to bridge configuration. Thus, like with VLAN addition,
schedule SPAN respin for later.

Fixes: c520bc69 ("mlxsw: Respin SPAN on switchdev events")
Signed-off-by: NPetr Machata <petrm@mellanox.com>
Signed-off-by: NIdo Schimmel <idosch@mellanox.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 fa1be7e0
...@@ -1856,7 +1856,7 @@ static int mlxsw_sp_port_obj_del(struct net_device *dev, ...@@ -1856,7 +1856,7 @@ static int mlxsw_sp_port_obj_del(struct net_device *dev,
break; break;
} }
mlxsw_sp_span_respin(mlxsw_sp_port->mlxsw_sp); mlxsw_sp_span_respin_schedule(mlxsw_sp_port->mlxsw_sp);
return err; return err;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册