mirror of https://gitee.com/openkylin/linux.git
57a47532c4
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:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
dsa.c | ||
dsa_priv.h | ||
slave.c | ||
tag_brcm.c | ||
tag_dsa.c | ||
tag_edsa.c | ||
tag_trailer.c |