From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stanislaw Gruszka Subject: Re: [PATCH] net: wireless: iwlegacy: Add a lock assertion in il4965_send_rxon_assoc() Date: Mon, 8 Oct 2018 10:54:14 +0200 Message-ID: <20181008085413.GA1961@redhat.com> References: <20181005135546.21011-1-baijiaju1990@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvalo@codeaurora.org, davem@davemloft.net, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: Jia-Ju Bai Return-path: Received: from mx1.redhat.com ([209.132.183.28]:44286 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726096AbeJHQEy (ORCPT ); Mon, 8 Oct 2018 12:04:54 -0400 Content-Disposition: inline In-Reply-To: <20181005135546.21011-1-baijiaju1990@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, Oct 05, 2018 at 09:55:46PM +0800, Jia-Ju Bai wrote: > The variables il->staging.filter_flags, rxon1->filter_flags and > rxon2->filter_flags need to be protected by the mutex lock il->mutex. > This patch adds a lock assertion of il->mutex to check whether > this lock is held. > > Signed-off-by: Jia-Ju Bai Acked-by: Stanislaw Gruszka