https://github.com/torvalds/linux
Revision c0d7eccbc76115b7eb337956c03d47d6a889cf8c authored by Vladimir Oltean on 03 May 2020, 22:20:27 UTC, committed by David S. Miller on 07 May 2020, 00:15:25 UTC
One may notice that automatically-learnt entries 'never' expire, even
though the bridge configures the address age period at 300 seconds.

Actually the value written to hardware corresponds to a time interval
1000 times higher than intended, i.e. 83 hours.

Fixes: a556c76adc05 ("net: mscc: Add initial Ocelot switch support")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Faineli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 21ce7f3
History
Tip revision: c0d7eccbc76115b7eb337956c03d47d6a889cf8c authored by Vladimir Oltean on 03 May 2020, 22:20:27 UTC
net: mscc: ocelot: ANA_AUTOAGE_AGE_PERIOD holds a value in seconds, not ms
Tip revision: c0d7ecc
File Mode Size
Kconfig -rw-r--r-- 73.5 KB
Makefile -rw-r--r-- 1.2 KB
calibrate.c -rw-r--r-- 8.6 KB
do_mounts.c -rw-r--r-- 16.0 KB
do_mounts.h -rw-r--r-- 1.1 KB
do_mounts_initrd.c -rw-r--r-- 3.4 KB
do_mounts_md.c -rw-r--r-- 7.9 KB
do_mounts_rd.c -rw-r--r-- 8.1 KB
init_task.c -rw-r--r-- 5.4 KB
initramfs.c -rw-r--r-- 14.5 KB
main.c -rw-r--r-- 35.8 KB
noinitramfs.c -rw-r--r-- 873 bytes
version.c -rw-r--r-- 1.3 KB

back to top