mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-29 19:13:54 +00:00
Address learning should initially be turned off by the driver for port
operation in standalone mode, then the DSA core handles changes to it
via ds->ops->port_bridge_flags().
Leaving address learning enabled while ports are standalone breaks any
kind of communication which involves port B receiving what port A has
sent. Notably it breaks the ksz9477 driver used with a (non offloaded,
ports act as if standalone) bonding interface in active-backup mode,
when the ports are connected together through external switches, for
redundancy purposes.
This fixes a major design flaw in the ksz9477 and ksz8795 drivers, which
unconditionally leave address learning enabled even while ports operate
as standalone.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| ksz8.h | ||
| ksz8795_reg.h | ||
| ksz8795.c | ||
| ksz8863_smi.c | ||
| ksz9477_i2c.c | ||
| ksz9477_reg.h | ||
| ksz9477.c | ||
| ksz9477.h | ||
| ksz_common.c | ||
| ksz_common.h | ||
| ksz_spi.c | ||
| lan937x_main.c | ||
| lan937x_reg.h | ||
| lan937x.h | ||
| Makefile | ||