]> Git Repo - linux.git/commit
bridge: add MDB state mask uAPI attribute
authorIdo Schimmel <[email protected]>
Sun, 17 Dec 2023 08:32:36 +0000 (10:32 +0200)
committerDavid S. Miller <[email protected]>
Wed, 20 Dec 2023 11:27:20 +0000 (11:27 +0000)
commite37a11fca41864c9f652ff81296b82e6f65a4242
tree55b397a396e3d3d3d83ff5a1c607447783760fe2
parentb6895d0ac9d7a3d29f9f238a2688b3b66da71692
bridge: add MDB state mask uAPI attribute

Currently, the 'state' field in 'struct br_port_msg' can be set to 1 if
the MDB entry is permanent or 0 if it is temporary. Additional states
might be added in the future.

In a similar fashion to 'NDA_NDM_STATE_MASK', add an MDB state mask uAPI
attribute that will allow the upcoming bulk deletion API to bulk delete
MDB entries with a certain state or any state.

Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Acked-by: Nikolay Aleksandrov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/uapi/linux/if_bridge.h
This page took 0.057549 seconds and 4 git commands to generate.