linux-stable/net/dsa
Florian Fainelli c5980c7153 net: dsa: Fix duplicate frames flooded by learning
[ Upstream commit 0e62f543be ]

When both the switch and the bridge are learning about new addresses,
switch ports attached to the bridge would see duplicate ARP frames
because both entities would attempt to send them.

Fixes: 5037d532b8 ("net: dsa: add Broadcom tag RX/TX handler")
Reported-by: Maxime Bizon <mbizon@freebox.fr>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vivien Didelot <vivien.didelot@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-02 16:34:24 +02:00
..
dsa.c net: dsa: Fix error cleanup path in dsa_init_module 2019-05-16 19:42:34 +02:00
dsa2.c net: dsa: fix switch tree list 2019-11-10 11:25:32 +01:00
dsa_priv.h net-next: dsa: move struct dsa_device_ops to the global header file 2017-08-09 22:51:47 -07:00
Kconfig dsa: add support for Microchip KSZ tail tagging 2017-05-31 20:56:31 -04:00
legacy.c net: dsa: Move FDB add/del implementation inside DSA 2017-08-07 14:48:48 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
port.c net: dsa: Move FDB dump implementation inside DSA 2017-08-07 14:48:48 -07:00
slave.c net: dsa: slave: Don't propagate flag changes on down slave interfaces 2019-02-12 19:46:11 +01:00
switch.c net: dsa: return after vlan prepare phase 2017-11-11 15:45:09 +09:00
tag_brcm.c net: dsa: Fix duplicate frames flooded by learning 2020-04-02 16:34:24 +02:00
tag_dsa.c net: dsa: Discard frames from unused ports 2018-04-24 09:36:39 +02:00
tag_edsa.c net: dsa: Discard frames from unused ports 2018-04-24 09:36:39 +02:00
tag_ksz.c net: dsa: Discard frames from unused ports 2018-04-24 09:36:39 +02:00
tag_lan9303.c net: dsa: Discard frames from unused ports 2018-04-24 09:36:39 +02:00
tag_mtk.c net: dsa: Discard frames from unused ports 2018-04-24 09:36:39 +02:00
tag_qca.c net: dsa: tag_qca: Make sure there is headroom for tag 2020-02-28 16:36:09 +01:00
tag_trailer.c net: dsa: add error handling for pskb_trim_rcsum 2018-06-26 08:06:28 +08:00