]> git.ipfire.org Git - thirdparty/linux.git/commit
dpaa2-switch: do not accept VLAN uppers while bridged
authorIoana Ciornei <ioana.ciornei@nxp.com>
Thu, 18 Jun 2026 09:28:12 +0000 (12:28 +0300)
committerJakub Kicinski <kuba@kernel.org>
Sun, 21 Jun 2026 22:31:34 +0000 (15:31 -0700)
commitd07d80b6a129a44538cda1549b7acf95154fb197
tree43603b75a797e0fd0a29594804991be7f7c18ab5
parent9ed19e11d2146076d117d51a940643990118449b
dpaa2-switch: do not accept VLAN uppers while bridged

The dpaa2-switch driver does not support VLAN uppers while its ports are
bridged. This scenario tried to be prevented by rejecting a bridge join
while VLAN uppers exist but the reverse order was still possible.

This patches adds a check so that the dpaa2-switch also does not accept
VLAN uppers while bridged.

Fixes: f48298d3fbfa ("staging: dpaa2-switch: move the driver out of staging")
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://patch.msgid.link/20260618092813.432535-2-ioana.ciornei@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c