diff options
author | Nikolay Aleksandrov <razor@blackwall.org> | 2022-04-13 13:51:58 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-13 12:46:26 +0100 |
commit | edaef191722439591bfba75b4e5650bfd39c9123 (patch) | |
tree | c27604ccc69a4f088fc180391952e23bb871d30c /net/bridge/br_device.c | |
parent | 9e83425993f38bb89e0ea07849ba0039a748e85b (diff) | |
download | linux-edaef191722439591bfba75b4e5650bfd39c9123.tar.gz linux-edaef191722439591bfba75b4e5650bfd39c9123.tar.bz2 linux-edaef191722439591bfba75b4e5650bfd39c9123.zip |
net: bridge: fdb: add ndo_fdb_del_bulk
Add a minimal ndo_fdb_del_bulk implementation which flushes all entries.
Support for more fine-grained filtering will be added in the following
patches.
Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_device.c')
-rw-r--r-- | net/bridge/br_device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c index 8d6bab244c4a..58a4f70e01e3 100644 --- a/net/bridge/br_device.c +++ b/net/bridge/br_device.c @@ -465,6 +465,7 @@ static const struct net_device_ops br_netdev_ops = { .ndo_fix_features = br_fix_features, .ndo_fdb_add = br_fdb_add, .ndo_fdb_del = br_fdb_delete, + .ndo_fdb_del_bulk = br_fdb_delete_bulk, .ndo_fdb_dump = br_fdb_dump, .ndo_fdb_get = br_fdb_get, .ndo_bridge_getlink = br_getlink, |