Re: [PATCH net v2] net: ti: icssg-prueth: Fix race condition for VLAN table access

From: Roger Quadros
Date: Mon Oct 07 2024 - 07:48:31 EST




On 07/10/2024 08:41, MD Danish Anwar wrote:
> The VLAN table is a shared memory between the two ports/slices
> in a ICSSG cluster and this may lead to race condition when the
> common code paths for both ports are executed in different CPUs.
>
> Fix the race condition access by locking the shared memory access
>
> Fixes: 487f7323f39a ("net: ti: icssg-prueth: Add helper functions to configure FDB")
> Signed-off-by: MD Danish Anwar <danishanwar@xxxxxx>

Reviewed-by: Roger Quadros <rogerq@xxxxxxxxxx>