Commit 2601e9c4 authored by Ido Schimmel's avatar Ido Schimmel Committed by David S. Miller
Browse files

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: default avatarIdo Schimmel <idosch@nvidia.com>
Reviewed-by: default avatarPetr Machata <petrm@nvidia.com>
Acked-by: default avatarNikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4cde72fe
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -6741,5 +6741,6 @@ void __init rtnetlink_init(void)

	rtnl_register(PF_BRIDGE, RTM_GETMDB, rtnl_mdb_get, rtnl_mdb_dump, 0);
	rtnl_register(PF_BRIDGE, RTM_NEWMDB, rtnl_mdb_add, NULL, 0);
	rtnl_register(PF_BRIDGE, RTM_DELMDB, rtnl_mdb_del, NULL, 0);
	rtnl_register(PF_BRIDGE, RTM_DELMDB, rtnl_mdb_del, NULL,
		      RTNL_FLAG_BULK_DEL_SUPPORTED);
}