]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_switchdev: Flush the mdb when a port is being removed
authorNogah Frankel <nogahf@mellanox.com>
Wed, 20 Sep 2017 14:15:12 +0000 (16:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Sep 2017 01:03:13 +0000 (18:03 -0700)
commit284142271ad887c9ad59fa612e57b914841c2e73
tree3843ef5486ea8417fd0bfb6ca981025691f89aee
parentf2b4422bb3eaa01c80f0ea5809e48d3988e3ae66
mlxsw: spectrum_switchdev: Flush the mdb when a port is being removed

When a port is being removed from a bridge, flush the bridge mdb to remove
the mids of that port.

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