# Re: \[PATCH 4.19.y\] net: dsa: mt7530: disable learning on standalone ports

- From: DENG Qingfang \<dqfext@gmail.com\>
- Date: 2021-08-24 15:58:10 
- List: linux-mediatek
- Page: https://ratatoskr.run/linux-mediatek/2021/08/1487231
- Thread: https://ratatoskr.run/stable/2021/08/1486563/t.md

```text
Hi Sasha,

On Tue, Aug 24, 2021 at 11:29 PM Sasha Levin [ref] wrote:
> What's the reasoning behind:
>
> 1. Backporting this patch?

Standalone ports should have address learning disabled, according to
the documentation:
https://www.kernel.org/doc/html/v5.14-rc7/networking/dsa/dsa.html#bridge-layer
dsa_switch_ops on 5.10 or earlier does not have .port_bridge_flags
function so it has to be done differently.

I've identified an issue related to this.

> 2. A partial backport of this patch?

The other part does not actually fix anything.

>
> --
> Thanks,
> Sasha

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
```
