]> git.ipfire.org Git - thirdparty/iproute2.git/commit
bridge: fdb: add new flush command
authorNikolay Aleksandrov <razor@blackwall.org>
Wed, 8 Jun 2022 12:29:12 +0000 (15:29 +0300)
committerDavid Ahern <dsahern@kernel.org>
Fri, 10 Jun 2022 15:00:31 +0000 (09:00 -0600)
commit6e1ca489c5a29826f2a2f1edab01f753650c9cec
tree46735b05297575461fda2c77cb2d28a4773bc848
parentcef46213d5ddbaa507b277878394d6a535dc22cc
bridge: fdb: add new flush command

Add support for fdb bulk delete (aka flush) command. Currently it only
supports the self and master flags with the same semantics as fdb
add/del. The device is a mandatory argument.

Example:
$ bridge fdb flush dev br0
This will delete *all* fdb entries in br0's fdb table.

$ bridge fdb flush dev swp1 master
This will delete all fdb entries pointing to swp1.

Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David Ahern <dsahern@kernel.org>
bridge/fdb.c
man/man8/bridge.8