Searched hist:b8d866ac6aa45147b84f3f67b124b82bee675e9f (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/dsa/ |
H A D | slave.c | diff b8d866ac6aa45147b84f3f67b124b82bee675e9f Tue Sep 29 11:38:36 CDT 2015 Vivien Didelot <vivien.didelot@savoirfairelinux.com> net: dsa: fix preparation of a port STP update
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.
Reported-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Acked-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
|