Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3323132imm; Mon, 8 Oct 2018 01:54:37 -0700 (PDT) X-Google-Smtp-Source: ACcGV616NWnWvdQOlQrReCfTZHoGIn6Dirt7pK7PGWwTznQjdNGeh4Xs5AVr6kIhVlMwFqtr5aFj X-Received: by 2002:a17:902:c6b:: with SMTP id 98-v6mr23238280pls.233.1538988877904; Mon, 08 Oct 2018 01:54:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538988877; cv=none; d=google.com; s=arc-20160816; b=sHqoE+q1PGdolzK2qLDi/5J/KBf2gr8jxdCAbt/x0vyZgXce/yyeCtrv1JQKpqRNdi BlkCZpV9fanRqrI/4SDNR/lpscCNDC72P+WIUhPE8yBWP3ivVrF1tSDMsGRr/p+S3BKq qHtmvAdIgQu8FfCVxP0IEx7hrKJTs7zPTboWRCjrSSkUszrHT0TlEsMBvhi7qcVc5ROp aAeXqYZc9kvAt2DGEAAZu9Li6fjDvQfsRCeV63hgIW0RezQWyRG0993ip5lOvfLa3PSh uVmAUfp6l+Q6NGflAE8syiVoSCwUe/FXLye4dO8C8gg9EZ8fRKnU4hP5Gd10VgkRZ3pR 3kYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=9tD+e0WvSGrsIqD8MqMoYL3K1Ktlub8fNdPYF8iGdr0=; b=Zo1CbHNOQaCC+osUTfbDE+2dyjfwlcjMpjy2NW8J24l9xpw76gWqshYLf5iPESydNh m1uCcRdfEiA7WsswOCizB3/hm1hJk/U1iSw0M8M0Vx2cwKYoQ5rJLZZ/0lNdBaqzYzGz OP0WbIhBRsg3fsxZQmpnYycqJQOrkwlc3SnpA7jtGBqrLnjmtTiwkef+p3FOl5Uvdsu9 Edn5Hw1sI0Vz7wpd1aIg2JHDk0OCu3JWhOdDiMWZuVGo7Q7EqCWLvtQ2DsO62twU1R/m VQC9A8/iTZNbWi/O5LwFw39J/GWHgjgs9fQNLeprahiDL8YHYEsbT7i/X/Hz+EaJLi3l OnTA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y11-v6si1059691pfm.141.2018.10.08.01.54.21; Mon, 08 Oct 2018 01:54:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727127AbeJHQEy (ORCPT + 99 others); Mon, 8 Oct 2018 12:04:54 -0400 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 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 42D82C050009; Mon, 8 Oct 2018 08:54:16 +0000 (UTC) Received: from localhost (ovpn-204-38.brq.redhat.com [10.40.204.38]) by smtp.corp.redhat.com (Postfix) with ESMTP id A942B1001F5E; Mon, 8 Oct 2018 08:54:15 +0000 (UTC) Date: Mon, 8 Oct 2018 10:54:14 +0200 From: Stanislaw Gruszka To: Jia-Ju Bai Cc: kvalo@codeaurora.org, davem@davemloft.net, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: wireless: iwlegacy: Add a lock assertion in il4965_send_rxon_assoc() Message-ID: <20181008085413.GA1961@redhat.com> References: <20181005135546.21011-1-baijiaju1990@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181005135546.21011-1-baijiaju1990@gmail.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Mon, 08 Oct 2018 08:54:16 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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