From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCH net-next] net: dsa: lan9303: Protect ALR operations with mutex Date: Thu, 7 Dec 2017 21:58:28 +0100 Message-ID: <20171207205828.GA5066@lunn.ch> References: <20171207185604.30745-1-privat@egil-hjelmeland.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: vivien.didelot@savoirfairelinux.com, f.fainelli@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: Egil Hjelmeland Return-path: Content-Disposition: inline In-Reply-To: <20171207185604.30745-1-privat@egil-hjelmeland.no> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 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 Reviewed-by: Andrew Lunn Andrew