diff options
| author | Ido Schimmel <idosch@mellanox.com> | 2016-03-08 12:59:33 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-20 15:42:02 +0900 |
| commit | 7d870cff8ece6088dd9e26f54a3fd1b4b899ddf9 (patch) | |
| tree | 8b2663dbdc2fc68c8a728c5aad9f943e13197849 /include/linux/debugobjects.h | |
| parent | a96f3553d5d1d6650f608f14162ed403d64e2b66 (diff) | |
mlxsw: spectrum: Check requested ageing time is valid
[ Upstream commit 869f63a4d28144c03c8f4a4c0d1e8f31f8c11a10 ]
Commit c62987bbd8a1 ("bridge: push bridge setting ageing_time down to
switchdev") added a check for minimum and maximum ageing time, but this
breaks existing behaviour where one can set ageing time to 0 for a
non-learning bridge.
Push this check down to the driver and allow the check in the bridge
layer to be removed. Currently ageing time 0 is refused by the driver,
but we can later add support for this functionality.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
