]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_switchdev: Remove mrouter flood in mdb flush
authorNogah Frankel <nogahf@mellanox.com>
Wed, 20 Sep 2017 14:15:15 +0000 (16:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Sep 2017 01:03:13 +0000 (18:03 -0700)
commitdcabb1fa7dbb09fc66cb5b0de987b42b13abc389
treef572186ea21e8c8a17aa5b295712ffe07ad78ae7
parent00a3a19f990fbb6c9f32e3ac6e5f4a388a910742
mlxsw: spectrum_switchdev: Remove mrouter flood in mdb flush

In mdb flush the port is being removed from all the mids it is registered
to. But if the port is mrouter, all the mids floods to it.
This patch remove mrouter ports from mids it is not registered to in the
mdb flush.

Signed-off-by: Nogah Frankel <nogahf@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