commit | 2e8d243e887c8802b373338ddff684aa0578be3b | [log] [tgz] |
---|---|---|
author | Egil Hjelmeland <privat@egil-hjelmeland.no> | Thu Dec 07 19:56:04 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 08 14:12:33 2017 -0500 |
tree | a954e778e154c3c6fe325cc51c54e4c5c8cd96c0 | |
parent | df45bf84e4f5a48f23d4b1a07d21d566e8b587b2 [diff] |
net: dsa: lan9303: Protect ALR operations with mutex ALR table operations are a sequence of related register operations which should be protected from concurrent access. The alr_cache should also be protected. Add alr_mutex doing that. Signed-off-by: Egil Hjelmeland <privat@egil-hjelmeland.no> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>