Re: [PATCH net-next v2 09/13] bridge: mcast: Add MDB get support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>





[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux