mirror of
https://github.com/torvalds/linux.git
synced 2025-11-07 20:19:47 +02:00
Because of the default 0 value of ret in dsa_slave_port_attr_set, a
driver may return -EOPNOTSUPP from the commit phase of a STP state,
which triggers a WARN() from switchdev.
This happened on a 6185 switch which does not support hardware bridging.
Fixes:
|
||
|---|---|---|
| .. | ||
| dsa.c | ||
| dsa_priv.h | ||
| Kconfig | ||
| Makefile | ||
| slave.c | ||
| tag_brcm.c | ||
| tag_dsa.c | ||
| tag_edsa.c | ||
| tag_trailer.c | ||