Re: [PATCH net-next] net: dsa: lan9303: Protect ALR operations with mutex

2017-12-08 Thread David Miller
From: Egil Hjelmeland Date: Thu, 7 Dec 2017 19:56:04 +0100 > 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:

Re: [PATCH net-next] net: dsa: lan9303: Protect ALR operations with mutex

2017-12-08 Thread David Miller
From: Egil Hjelmeland Date: Thu, 7 Dec 2017 19:56:04 +0100 > 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 Applied.

Re: [PATCH net-next] net: dsa: lan9303: Protect ALR operations with mutex

2017-12-07 Thread Andrew Lunn
On Thu, Dec 07, 2017 at 07:56:04PM +0100, Egil Hjelmeland wrote: > 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

Re: [PATCH net-next] net: dsa: lan9303: Protect ALR operations with mutex

2017-12-07 Thread Andrew Lunn
On Thu, Dec 07, 2017 at 07:56:04PM +0100, Egil Hjelmeland wrote: > 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

[PATCH net-next] net: dsa: lan9303: Protect ALR operations with mutex

2017-12-07 Thread Egil Hjelmeland
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 --- drivers/net/dsa/lan9303-core.c | 14 --

[PATCH net-next] net: dsa: lan9303: Protect ALR operations with mutex

2017-12-07 Thread Egil Hjelmeland
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 --- drivers/net/dsa/lan9303-core.c | 14 --