ar8216: flush ARL table during reset after init_globals
commit33b72b8e0f
"ar8216: adjust ATU flushing in case of link changes" introduced portwise flushing on link down events. Now the ARL table could be in a chaotic state after boot where ar8xxx_sw_get_arl_table looped forever (depending on the entries collected while booting). Fixes FS#384. Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> (cherry picked from commit2374549916
) Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
This commit is contained in:
parent
f6d94b0dd6
commit
7fd494d4b2
1 changed files with 1 additions and 0 deletions
|
@ -1194,6 +1194,7 @@ ar8xxx_sw_reset_switch(struct switch_dev *dev)
|
||||||
priv->arl_age_time = AR8XXX_DEFAULT_ARL_AGE_TIME;
|
priv->arl_age_time = AR8XXX_DEFAULT_ARL_AGE_TIME;
|
||||||
|
|
||||||
chip->init_globals(priv);
|
chip->init_globals(priv);
|
||||||
|
chip->atu_flush(priv);
|
||||||
|
|
||||||
mutex_unlock(&priv->reg_mutex);
|
mutex_unlock(&priv->reg_mutex);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue