Re: [PATCH net-next 2/2] net: dsa: rzn1-a5psw: disable learning for standalone ports
From: Vladimir Oltean
Date: Thu Mar 30 2023 - 11:21:50 EST
On Thu, Mar 30, 2023 at 10:34:08AM +0200, Clément Léger wrote:
> When port are in standalone mode, they should have learning disabled to
> avoid adding new entries in the MAC lookup table which might be used by
> other bridge ports to forward packets. While adding that, also make sure
> learning is enabled for CPU port.
>
> Signed-off-by: Clément Léger <clement.leger@xxxxxxxxxxx>
> ---
Usually I prefer this kind of change to be treated as a bug and
backported to older trees, because we see reports of setups which don't
work due to it. For example, see commit 15f7cfae912e ("net: dsa:
microchip: make learning configurable and keep it off while standalone")
which has a Fixes: tag.