twx-linux/drivers/net/dsa
Vladimir Oltean 11d06f0aae net: dsa: vsc73xx: fix reception from VLAN-unaware bridges
Similar to the situation described for sja1105 in commit 1f9fc48fd302
("net: dsa: sja1105: fix reception from VLAN-unaware bridges"), the
vsc73xx driver uses tag_8021q and doesn't need the ds->untag_bridge_pvid
request. In fact, this option breaks packet reception.

The ds->untag_bridge_pvid option strips VLANs from packets received on
VLAN-unaware bridge ports. But those VLANs should already be stripped
by tag_vsc73xx_8021q.c as part of vsc73xx_rcv() - they are not VLANs in
VLAN-unaware mode, but DSA tags. Thus, dsa_software_vlan_untag() tries
to untag a VLAN that doesn't exist, corrupting the packet.

Fixes: 93e4649efa96 ("net: dsa: provide a software untagging function on RX for VLAN-aware bridges")
Tested-by: Pawel Dembicki <paweldembicki@gmail.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patch.msgid.link/20241014153041.1110364-1-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-10-15 18:41:52 -07:00
..
b53 net: dsa: b53: fix jumbo frames on 10/100 ports 2024-10-08 10:42:27 +02:00
hirschmann net: Add struct kernel_ethtool_ts_info 2024-07-15 08:02:26 -07:00
microchip move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
mv88e6xxx net: dsa: mv88e6xxx: Fix the max_vid definition for the MV88E6361 2024-10-15 17:50:51 -07:00
ocelot Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-09-12 17:11:24 -07:00
qca net: dsa: ar9331: constify struct regmap_bus 2024-07-05 17:02:20 -07:00
realtek net: dsa: realtek: rtl8366rb: Make use of irq_get_trigger_type() 2024-09-06 18:21:43 -07:00
sja1105 net: dsa: sja1105: fix reception from VLAN-unaware bridges 2024-10-04 11:19:50 -07:00
xrs700x net: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-06-26 07:28:08 -07:00
bcm_sf2_cfp.c
bcm_sf2_regs.h
bcm_sf2.c net: dsa: bcm_sf2: Fix a possible memory leak in bcm_sf2_mdio_register() 2024-08-07 20:13:13 -07:00
bcm_sf2.h
dsa_loop_bdinfo.c
dsa_loop.c
dsa_loop.h
Kconfig net: dsa: vsc73xx: Implement the tag_8021q VLAN operations 2024-07-15 06:55:15 -07:00
lan9303_i2c.c net: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-06-26 07:28:08 -07:00
lan9303_mdio.c dsa: lan9303: consistent naming for PHY address parameter 2024-07-15 08:49:59 -07:00
lan9303-core.c net: dsa: lan9303: ensure chip reset and wait for READY status 2024-10-07 16:38:02 -07:00
lan9303.h
lantiq_gswip.c net: dsa: lantiq_gswip: Improve error message in gswip_port_fdb() 2024-06-13 17:07:11 -07:00
lantiq_pce.h
Makefile
mt7530-mdio.c net: dsa: mt7530-mdio: read PHY address of switch from device tree 2024-04-23 10:32:40 +02:00
mt7530-mmio.c net: dsa: mt7530: Add EN7581 support 2024-08-04 15:22:31 +01:00
mt7530.c net: dsa: mt7530: Add EN7581 support 2024-08-04 15:22:31 +01:00
mt7530.h net: dsa: mt7530: Add EN7581 support 2024-08-04 15:22:31 +01:00
mv88e6060.c
mv88e6060.h
rzn1_a5psw.c net: dsa: rzn1_a5psw: provide own phylink MAC operations 2024-04-17 18:29:30 -07:00
rzn1_a5psw.h
vitesse-vsc73xx-core.c net: dsa: vsc73xx: fix reception from VLAN-unaware bridges 2024-10-15 18:41:52 -07:00
vitesse-vsc73xx-platform.c
vitesse-vsc73xx-spi.c
vitesse-vsc73xx.h net: dsa: vsc73xx: implement FDB operations 2024-09-03 10:22:58 +02:00