]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita88fcb4ebd23ddf58aa71be8e8b9c5d71a17a208
tree904a9d53ade1038b0d44944dec7d4f692b5484bd
parenta7a48030cf02eb83e9d90eadd43688412301eaa6
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