OSDN Git Service

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)
commitbb5355b27c9da3786a2b5e1583c9d64f492ac7ad
tree3843ef5486ea8417fd0bfb6ca981025691f89aee
parent9dad51bdaa4b1846bd9d5307b54dca74efa555ea
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