linux-stable/drivers/net/dsa
Christian Marangi aedec6019d net: dsa: qca8k: fix mdb add/del case with 0 VID
commit dfd739f182 upstream.

The qca8k switch doesn't support using 0 as VID and require a default
VID to be always set. MDB add/del function doesn't currently handle
this and are currently setting the default VID.

Fix this by correctly handling this corner case and internally use the
default VID for VID 0 case.

Fixes: ba8f870dfa ("net: dsa: qca8k: add support for mdb_add/del")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-03 10:24:15 +02:00
..
b53 net: dsa: b53: mmap: add phy ops 2023-04-26 14:28:36 +02:00
hirschmann
microchip net: dsa: microchip: correct KSZ8795 static MAC table access 2023-07-27 08:50:42 +02:00
mv88e6xxx dsa: mv88e6xxx: Do a final check before timing out 2023-07-27 08:50:40 +02:00
ocelot net: dsa: felix: don't drop PTP frames with tag_8021q when RX timestamping is disabled 2023-07-19 16:22:01 +02:00
qca net: dsa: qca8k: fix mdb add/del case with 0 VID 2023-08-03 10:24:15 +02:00
realtek net: dsa: realtek: fix out-of-bounds access 2023-04-06 12:10:44 +02:00
sja1105 net: dsa: sja1105: always enable the send_meta options 2023-07-19 16:22:06 +02:00
xrs700x
bcm_sf2.c
bcm_sf2.h
bcm_sf2_cfp.c
bcm_sf2_regs.h
dsa_loop.c
dsa_loop.h
dsa_loop_bdinfo.c
Kconfig
lan9303-core.c net: dsa: lan9303: allow vid != 0 in port_fdb_{add|del} methods 2023-06-14 11:15:16 +02:00
lan9303.h
lan9303_i2c.c
lan9303_mdio.c
lantiq_gswip.c
lantiq_pce.h
Makefile
mt7530.c net: dsa: mt7530: fix handling of LLDP frames 2023-06-28 11:12:31 +02:00
mt7530.h net: dsa: mt7530: fix handling of LLDP frames 2023-06-28 11:12:31 +02:00
mv88e6060.c
mv88e6060.h
rzn1_a5psw.c net: dsa: rzn1-a5psw: disable learning for standalone ports 2023-05-24 17:32:44 +01:00
rzn1_a5psw.h net: dsa: rzn1-a5psw: fix STP states handling 2023-05-24 17:32:44 +01:00
vitesse-vsc73xx-core.c net: dsa: vsc73xx: fix MTU configuration 2023-07-19 16:22:03 +02:00
vitesse-vsc73xx-platform.c
vitesse-vsc73xx-spi.c
vitesse-vsc73xx.h