summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2020-05-21 23:31:23 +0200
committerDavid S. Miller <davem@davemloft.net>2020-05-23 01:15:21 +0200
commitbf655ba212dfd10d1c86afeee3f3372dbd731d46 (patch)
tree40c3618974469a5e2dfc7c71d8c98742ba2fa2bd /include
parentr8169: fix OCP access on RTL8117 (diff)
downloadlinux-bf655ba212dfd10d1c86afeee3f3372dbd731d46.tar.xz
linux-bf655ba212dfd10d1c86afeee3f3372dbd731d46.zip
net: mscc: ocelot: fix address ageing time (again)
ocelot_set_ageing_time has 2 callers: - felix_set_ageing_time: from drivers/net/dsa/ocelot/felix.c - ocelot_port_attr_ageing_set: from drivers/net/ethernet/mscc/ocelot.c The issue described in the fixed commit below actually happened for the felix_set_ageing_time code path only, since ocelot_port_attr_ageing_set was already dividing by 1000. So to make both paths symmetrical (and to fix addresses getting aged way too fast on Ocelot), stop dividing by 1000 at caller side altogether. Fixes: c0d7eccbc761 ("net: mscc: ocelot: ANA_AUTOAGE_AGE_PERIOD holds a value in seconds, not ms") Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions