On 10/25/23 15:30, Ido Schimmel wrote:
Implement support for MDB get operation by looking up a matching MDB entry, allocating the skb according to the entry's size and then filling in the response. The operation is performed under the bridge multicast lock to ensure that the entry does not change between the time the reply size is determined and when the reply is filled in. Signed-off-by: Ido Schimmel <idosch@xxxxxxxxxx> --- Notes: v2: * Add a comment above spin_lock_bh(). net/bridge/br_device.c | 1 + net/bridge/br_mdb.c | 158 ++++++++++++++++++++++++++++++++++++++++ net/bridge/br_private.h | 9 +++ 3 files changed, 168 insertions(+)
Acked-by: Nikolay Aleksandrov <razor@xxxxxxxxxxxxx>