Re: [PATCH net-next] net: dsa: mv88e6xxx: set out of range ageing time

2017-03-13 Thread Andrew Lunn
On Mon, Mar 13, 2017 at 03:19:32PM -0400, Vivien Didelot wrote: > The minimum and maximum value of the ATU Age Time varies depending on > the switch model. The current code returns -ERANGE for out-of-range > values, and makes switchdev commit phase fail with this stacktrace: Hi Vivien I took a lo

[PATCH net-next] net: dsa: mv88e6xxx: set out of range ageing time

2017-03-13 Thread Vivien Didelot
The minimum and maximum value of the ATU Age Time varies depending on the switch model. The current code returns -ERANGE for out-of-range values, and makes switchdev commit phase fail with this stacktrace: # brctl setageing br0 4 [ 8530.082179] WARNING: CPU: 0 PID: 910 at net/switchdev/swi