realtek: dsa: Automatically return lost VLANs to CIST
authorSven Eckelmann <[email protected]>
Tue, 28 Oct 2025 07:55:38 +0000 (08:55 +0100)
committerHauke Mehrtens <[email protected]>
Sat, 15 Nov 2025 15:21:16 +0000 (16:21 +0100)
commit2d14c1008e13da5bba9773ba19fc340207ad0a98
treef5ae07234b8cce5cda2c6c514cdea1f02e353c82
parent280cf19cdbcf41ddaad43e0ff9a1e8ed1e92f4a5
realtek: dsa: Automatically return lost VLANs to CIST

If a VLAN doesn't have any members anymore, then it is removed and
implicitly returns back from any MSTI to CIST. The DSA layer will not
create any call to .vlan_msti_set and the driver is required to handle this
directly.

Suggested-by: Jonas Gorski <[email protected]>
Signed-off-by: Sven Eckelmann <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20421
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/dsa.c