Skip to content

Commit 2601e9c

Browse files
idoschdavem330
authored andcommitted
rtnetlink: bridge: Enable MDB bulk deletion
Now that both the common code as well as individual drivers support MDB bulk deletion, allow user space to make such requests. 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]>
1 parent 4cde72f commit 2601e9c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

net/core/rtnetlink.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6741,5 +6741,6 @@ void __init rtnetlink_init(void)
67416741

67426742
rtnl_register(PF_BRIDGE, RTM_GETMDB, rtnl_mdb_get, rtnl_mdb_dump, 0);
67436743
rtnl_register(PF_BRIDGE, RTM_NEWMDB, rtnl_mdb_add, NULL, 0);
6744-
rtnl_register(PF_BRIDGE, RTM_DELMDB, rtnl_mdb_del, NULL, 0);
6744+
rtnl_register(PF_BRIDGE, RTM_DELMDB, rtnl_mdb_del, NULL,
6745+
RTNL_FLAG_BULK_DEL_SUPPORTED);
67456746
}

0 commit comments

Comments
 (0)