TencentOS-kernel/drivers/net/dsa
DENG Qingfang 1859870c39 net: dsa: mv88e6xxx: override existent unicast portvec in port_fdb_add
commit f72f2fb8fb6be095b98af5d740ac50cffd0b0cae upstream.

Having multiple destination ports for a unicast address does not make
sense.
Make port_db_load_purge override existent unicast portvec instead of
adding a new port bit.

Fixes: 884729399260 ("net: dsa: mv88e6xxx: handle multiple ports in ATU")
Signed-off-by: DENG Qingfang <dqfext@gmail.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Link: https://lore.kernel.org/r/20210130134334.10243-1-dqfext@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-04-12 12:51:58 +08:00
..
b53 net: dsa: b53: fix an off by one in checking "vlan->vid" 2021-04-12 12:51:40 +08:00
microchip Revert "net: dsa: microchip: set the correct number of ports" 2021-03-16 16:35:38 +08:00
mv88e6xxx net: dsa: mv88e6xxx: override existent unicast portvec in port_fdb_add 2021-04-12 12:51:58 +08:00
sja1105 Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
Kconfig Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
Makefile Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
bcm_sf2.c net: dsa: bcm_sf2: put device node before return 2021-04-12 12:51:48 +08:00
bcm_sf2.h Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
bcm_sf2_cfp.c net: dsa: bcm_sf2: Fix overflow checks 2021-03-16 16:26:40 +08:00
bcm_sf2_regs.h Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
dsa_loop.c net: dsa: loop: Add module soft dependency 2021-03-16 16:27:48 +08:00
dsa_loop.h Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
dsa_loop_bdinfo.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
lan9303-core.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
lan9303.h Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
lan9303_i2c.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
lan9303_mdio.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
lantiq_gswip.c net: dsa: lantiq_gswip: Exclude RMII from modes that report 1 GbE 2021-04-12 12:51:16 +08:00
lantiq_pce.h Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
mt7530.c net: dsa: mt7530: fix advertising unsupported 1000baseT_Half 2021-03-16 16:35:32 +08:00
mt7530.h net: dsa: mt7530: set CPU port to fallback mode 2021-03-16 16:28:45 +08:00
mv88e6060.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
mv88e6060.h Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
qca8k.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
qca8k.h Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
realtek-smi-core.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
realtek-smi-core.h net: dsa: rtl8366: Refactor VLAN/PVID init 2021-03-16 16:38:39 +08:00
rtl8366.c net: dsa: rtl8366: Skip PVID setting if not requested 2021-03-16 16:38:40 +08:00
rtl8366rb.c net: dsa: rtl8366rb: Support all 4096 VLANs 2021-03-16 16:38:40 +08:00
vitesse-vsc73xx-core.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
vitesse-vsc73xx-platform.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
vitesse-vsc73xx-spi.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
vitesse-vsc73xx.h Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00