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

Nikolay Aleksandrov <[email protected]>
Newsgroups gmane.linux.network.bridge
Message-ID <20260213070031.1400003-1-nikolay__42428.6054492526$1770966112$gmane$org@nvidia.com>
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(-)

-- 
2.47.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.