Messages in this thread | | | Date | Wed, 15 Mar 2017 22:05:56 +0100 | From | Andrew Lunn <> | Subject | Re: [PATCH net-next v2 0/3] net: dsa: check out-of-range ageing time |
| |
> This patchset fixes this by adding ageing_time_min and ageing_time_max > fields to the dsa_switch structure, which can optionally be set by a DSA > driver. > > If provided, the DSA core will check for out-of-range values in the > SWITCHDEV_ATTR_ID_BRIDGE_AGEING_TIME prepare phase and return -ERANGE > accordingly. > > Finally set these limits in the mv88e6xxx driver.
Hi Vivien
Thanks for doing it this way. Nicely done.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
| |