net: mscc: ocelot: deny changing the native VLAN from the prepare phase
Put the preparation phase of switchdev VLAN objects to some good use, and move the check we already had, for preventing the existence of more than one egress-untagged VLAN per port, to the preparation phase of the addition. Signed-off-by:Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by:
Jakub Kicinski <kuba@kernel.org> (cherry picked from commit 2f0402fe) Signed-off-by:
Vladimir Oltean <vladimir.oltean@nxp.com> [Xulin: Original patch taken from https://github.com/vladimiroltean/linux/commits/felix-dsa-tag-vlan-stable ] Signed-off-by:
Xulin Sun <xulin.sun@windriver.com>
Loading
Please register or sign in to comment