All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net v2 0/2] dpaa2-switch: reject VLAN uppers while bridged
@ 2026-06-18  9:28 Ioana Ciornei
  2026-06-18  9:28 ` [PATCH net v2 1/2] dpaa2-switch: do not accept " Ioana Ciornei
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ioana Ciornei @ 2026-06-18  9:28 UTC (permalink / raw)
  To: andrew+netdev, davem, edumazet, kuba, pabeni, netdev
  Cc: f.fainelli, vladimir.oltean, linux-kernel

The dpaa2-switch driver does not support VLAN uppers on its ports while
they are bridged. The check which should have prevented a port with a
VLAN upper to join bridge was poorly refactored and didn't actually
return an error. Patch 2/2 fixes that.

On the other hand, the driver didn't reject the addition of a VLAN upper
while bridged. Patch 1/2 fixes that.

Changes in v2:
- added patch 1/2

Ioana Ciornei (2):
  dpaa2-switch: do not accept VLAN uppers while bridged
  dpaa2-switch: fix VLAN upper check not rejecting bridge join

 drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-06-19  1:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-18  9:28 [PATCH net v2 0/2] dpaa2-switch: reject VLAN uppers while bridged Ioana Ciornei
2026-06-18  9:28 ` [PATCH net v2 1/2] dpaa2-switch: do not accept " Ioana Ciornei
2026-06-18  9:28 ` [PATCH net v2 2/2] dpaa2-switch: fix VLAN upper check not rejecting bridge join Ioana Ciornei
2026-06-19  1:00 ` [PATCH net v2 0/2] dpaa2-switch: reject VLAN uppers while bridged patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.