Merge branch 'dsa-avoid-cross-chip-vlan-sync'
authorDavid S. Miller <davem@davemloft.net>
Tue, 25 Jan 2022 11:45:39 +0000 (11:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jan 2022 11:45:39 +0000 (11:45 +0000)
commit934d0f039959f637563bccaf4235c2f154f1b48d
treec5a76c79c11f457ac3822fcf5b7afdf7a558da68
parent51d555cfdcc60436850f75daa6e379ba08e7a68c
parent108dc8741c203e9d6ce4e973367f1bac20c7192b
Merge branch 'dsa-avoid-cross-chip-vlan-sync'

Tobias Waldekranz says:

====================
net: dsa: Avoid cross-chip syncing of VLAN filtering

This bug has been latent in the source for quite some time, I suspect
due to the homogeneity of both typical configurations and hardware.

On singlechip systems, this would never be triggered. The only reason
I saw it on my multichip system was because not all chips had the same
number of ports, which means that the misdemeanor alien call turned
into a felony array-out-of-bounds access.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>