Subject: cpsw_ale clobbers learned addresses?

From: Richard Cochran <[email-masked]>
Date: Wed, 13 May 2015 21:38:16 +0200

It appears to me that cpsw_ale.c will possibly clobber addresses
learned by the switch.   When adding a new entry, the code reads the
table until it finds an empty entry.  Then, it writes the new value to
that same index.  However, nothing prevents the switch from using that
same index between the read and the write.

Or am I missing something?

Thanks,
Richard