net: bridge: fdb: add support for flush filtering based on ifindex and vlan
authorNikolay Aleksandrov <razor@blackwall.org>
Wed, 13 Apr 2022 10:52:02 +0000 (13:52 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Apr 2022 11:46:26 +0000 (12:46 +0100)
commit0dbe886a4d8da1852b1ece67808d0bead74b1244
tree904a9d53ade1038b0d44944dec7d4f692b5484bd
parent564445fb4f0f7f3764320966a3d1e7c2711fd256
net: bridge: fdb: add support for flush filtering based on ifindex and vlan

Add support for fdb flush filtering based on destination ifindex and
vlan id. The ifindex must either match a port's device ifindex or the
bridge's. The vlan support is trivial since it's already validated by
rtnl_fdb_del, we just need to fill it in.

Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_fdb.c