Skip to content

net: bridge: mcast: fix mdb_n_entries counting warning

Nikolay Aleksandrov bridge netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesApplied 2/2
  2. v12 patches 1 replySuperseded

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: bridge: mcast: always update mdb_n_entries for vlan contextsnet/bridge/br_multicast.c+18 -270 repliesApplied
2/2selftests: forwarding: bridge_mdb_max: add tests for mdb_n_entries warningtools/testing/selftests/net/forwarding/bridge_mdb_max.sh+88 -20 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchIdo Schimmel
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net v2 0/2] net: bridge: mcast: fix mdb_n_entries counting warning

Hi,
The first patch fixes a warning in the mdb_n_entries code which was reported by syzbot, the second patch adds tests for different ways which used to trigger said warning. For more information please check the individual commit messages.

v2: fix 2 typos in the selftest, no changes to the fix

Cheers,
Nik

Nikolay Aleksandrov (2):
net: bridge: mcast: always update mdb_n_entries for vlan contexts
selftests: forwarding: bridge_mdb_max: add tests for mdb_n_entries
warning

 net/bridge/br_multicast.c                     | 45 ++++------
 .../net/forwarding/bridge_mdb_max.sh          | 90 ++++++++++++++++++-
 2 files changed, 106 insertions(+), 29 deletions(-)
Signature · 1 line
2.47.3