🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
1 messages
1 total messages Started by Gabriel Goller Fri, 16 Oct 2026 15:51
Re: [PATCH net 0/2] bridge: mcast: Fix MDB exhaustion by rejected entries
#4052
Author: Gabriel Goller
Date: Fri, 16 Oct 2026 15:51
31 lines
6026 bytes
On 16.10.2026 13:14, Ido Schimmel wrote:
> When the bridge fails to create a port group for a new MDB entry, the
> entry is left behind with no ports and is never deleted, but it is still
> counted towards mcast_hash_max. Since the introduction of
> mcast_max_groups, a host behind a port that reached its maximum can use
> this to exhaust the MDB and disable multicast snooping.
> 
> Patch #1 fixes the problem by deleting the entry upon failure.
> 
> Patch #2 adds a selftest.
> 
> Ido Schimmel (2):
>   bridge: mcast: Delete empty MDB entry when port group creation fails
>   selftests: forwarding: bridge_mdb_max: Add a test for rejected MDB
>     entries
> 
>  net/bridge/br_mdb.c                           |  16 +-
>  net/bridge/br_multicast.c                     |   9 ++
>  net/bridge/br_private.h                       |   1 +
>  .../net/forwarding/bridge_mdb_max.sh          | 138 ++++++++++++++++++
>  4 files changed, 161 insertions(+), 3 deletions(-)
> 
> -- 
> 2.56.0

Thanks,
Consider:

Tested-by: Gabriel Goller <g.goller@proxmox.com>
Reviewed-by: Gabriel Goller <g.goller@proxmox.com>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads