[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a4ce2c34-eabe-a11f-682a-4cecf6c3462b@blackwall.org>
Date: Mon, 20 Mar 2023 14:08:21 +0200
From: Nikolay Aleksandrov <razor@...ckwall.org>
To: Ujjal Roy <royujjal@...il.com>, roopa@...dia.com,
nikolay@...dia.com
Cc: netdev@...r.kernel.org, Kernel <linux-kernel@...r.kernel.org>,
bridge@...ts.linux-foundation.org
Subject: Re: Multicast: handling of STA disconnect
On 20/03/2023 13:45, Ujjal Roy wrote:
> Hi Nikolay,
>
> I have some query on multicast. When streams running on an STA and STA
> disconnected due to some reason. So, until the MDB is timed out the
> stream will be forwarded to the port and in turn to the driver and
> dropps there as no such STA.
>
> So, is the multicast_eht handling this scenario to take any action
> immediately? If not, can we do this to take quick action to reduce
> overhead of memory and driver?
>
> I have an idea on this. Can we mark this port group (MDB entry) as
> INACTIVE from the WiFi disconnect event and skip forwarding the stream
> to this port in br_multicast_flood by applying the check? I can share
> the patch on this.
>
> Thanks,
> UjjaL Roy
Hi,
Fast leave and EHT (as that's v3's fast leave version) are about quickly converging when
a leave is received (e.g. when there are no listeners to quickly remove the mdb). They
don't deal with interface states (IIUC). Why don't you just flush the port's mdb entries
on disconnect? That would stop fwding.
Cheers,
Nik
Powered by blists - more mailing lists