]> git.itanic.dy.fi Git - linux-stable/commit
bridge: mcast: Account for missing attributes
authorIdo Schimmel <idosch@nvidia.com>
Wed, 25 Oct 2023 12:30:09 +0000 (15:30 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Oct 2023 09:51:41 +0000 (10:51 +0100)
commit1b6d993509c13d180b2a9fbfe0ebc48e344348df
treed994564120c20730545d05294974855e37bca926
parentb9109b5b77f0cb437fe9fd5575e29e944c0b2580
bridge: mcast: Account for missing attributes

The 'MDBA_MDB' and 'MDBA_MDB_ENTRY' nest attributes are not accounted
for when calculating the size of MDB notifications. Add them along with
comments for existing attributes.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_mdb.c