]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: Fix duplicate frames flooded by learning
authorFlorian Fainelli <f.fainelli@gmail.com>
Sun, 22 Mar 2020 20:58:50 +0000 (13:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Mar 2020 04:44:45 +0000 (21:44 -0700)
commit3dca372c832ba79f33306b63a3fed7779507f4ea
tree219383ce2f12d8d654532db718973f319cdf963b
parent29b456e55860aaffdcae0a22e0ec61676832ced8
net: dsa: Fix duplicate frames flooded by learning

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: 5a5197d64263 ("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>
net/dsa/tag_brcm.c