Thread (5 messages) 5 messages, 2 authors, 2021-08-25

[PATCH net-next 0/3] Make sja1105 treat tag_8021q VLANs more like real DSA tags

flat view
STALE1888d

From: Vladimir Oltean <vladimir.oltean@nxp.com>
Date: 2021-08-24 17:20:19
Subsystem: networking drivers, networking [dsa], networking [general], the rest · Maintainers: Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Andrew Lunn, Vladimir Oltean, Linus Torvalds

This series solves a nuisance with the sja1105 driver, which is that
non-DSA tagged packets sent directly by the DSA master would still exit
the switch just fine.

We also had an issue for packets coming from the outside world with a
crafted DSA tag, the switch would not reject that tag but think it was
valid.

Vladimir Oltean (3):
  net: dsa: sja1105: prevent tag_8021q VLANs from being received on user
    ports
  net: dsa: sja1105: drop untagged packets on the CPU and DSA ports
  net: dsa: tag_sja1105: stop asking the sja1105 driver in
    sja1105_xmit_tpid

 drivers/net/dsa/sja1105/sja1105.h      |  6 --
 drivers/net/dsa/sja1105/sja1105_main.c | 55 ++++++++++++------
 drivers/net/dsa/sja1105/sja1105_spi.c  | 10 ----
 include/linux/dsa/sja1105.h            |  3 +-
 net/dsa/tag_sja1105.c                  | 79 ++++++++++++++++++++++++--
 5 files changed, 113 insertions(+), 40 deletions(-)

-- 
2.25.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help