Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp404055ybz; Fri, 24 Apr 2020 02:26:44 -0700 (PDT) X-Google-Smtp-Source: APiQypJ9EYn3JhBLBLBWt1yfTzq2Vs3kSJ+5jnVci/PBXmvneoLWBKErgFqoxRRRY89gTckBhAAG X-Received: by 2002:a50:b202:: with SMTP id o2mr1073378edd.251.1587720403929; Fri, 24 Apr 2020 02:26:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587720403; cv=none; d=google.com; s=arc-20160816; b=AYPXzW71CzQUxf0kvHh6npt7vjOcK4r7sfBYUE6Les9luS9gpMj3qsAZS4a1R1smQS LazMohNgOGZh8sbhoB4OIxbBpFXh2hVYlPtgAYQO4q51HCr917TZvB93bykm2RDzvzMN JmpfbPy5yaqyw5w/c6DGpuwxBNzkVBuplGtIperGcWuwJPRNmbf11lICqYi048Ebe0jU tYHf+dxVI7h2H64U/DvHAUbqwjTlCzzG1S+eCuTvNGm5siGEDw6mNl04PRHhKQmNHew9 DJvhAyimq57OhFMPAbyGMVzPbJujn6HBU061JlKQ6UFMKB3/+VtNrlJAyhXnRSyhj74b QxbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=jF8Tfz0CPMMW4iz4gWONanMoa4RZmLTl1weUX+4JvIg=; b=BaB6F3IS2AY2gF8dJJxlP1TFn2BV3UVl4XIv69cKrAZldR4tK2qOu2oTcfVmV5kpMR u+/ZM612CkpB1YcJh0XZHxS4cvbUeYTa8rx/8WKJL7pKmg0Jin/DXsGdhZh7V0bsJHi3 Crh1Kktqj13c6qYE4J8h8JoGBwUFqEjOeD6nWIHqjgTACFDVX3bxM2O8bAvlAwwl3yTz dw6n5lR4CVLnOs4apr30vbGu0JBK3cL+ty0xKBXQ1k1ELBH/pMVChmcpCgD40ETaz989 6odsL9W1huTtWPGw8123B1ALiMUsiFLRUmMFKGtNxNmNArUtW08aTECz4CJo384GwbFl kkpg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x5si2688550ede.603.2020.04.24.02.26.20; Fri, 24 Apr 2020 02:26:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726791AbgDXJYu (ORCPT + 99 others); Fri, 24 Apr 2020 05:24:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726298AbgDXJYu (ORCPT ); Fri, 24 Apr 2020 05:24:50 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56F0BC09B045; Fri, 24 Apr 2020 02:24:50 -0700 (PDT) Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) (envelope-from ) id 1jRuZd-00FRKL-4g; Fri, 24 Apr 2020 11:24:41 +0200 Message-ID: <61c8c547b9148b8297aa946a93df23608f408d28.camel@sipsolutions.net> Subject: Re: [PATCH 4/4] net: mac80211: mlme.c: Add lockdep condition for RCU list usage From: Johannes Berg To: madhuparnabhowmik10@gmail.com, davem@davemloft.net, kuba@kernel.org Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, frextrite@gmail.com, joel@joelfernandes.org, paulmck@kernel.org, linux-kernel-mentees@lists.linuxfoundation.org Date: Fri, 24 Apr 2020 11:24:40 +0200 In-Reply-To: <20200409082925.27481-1-madhuparnabhowmik10@gmail.com> (sfid-20200409_102943_941405_F4B3E85F) References: <20200409082925.27481-1-madhuparnabhowmik10@gmail.com> (sfid-20200409_102943_941405_F4B3E85F) Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2020-04-09 at 13:59 +0530, madhuparnabhowmik10@gmail.com wrote: > From: Madhuparna Bhowmik > > ieee80211_add_vht_ie() is called with sdata->wdev.mtx held from > ieee80211_send_assoc(). Add lockdep condition to avoid false positive > warnings. Again, wrong lock! Over the course of the three patches, you've now claimed that any one of * RTNL, * local->iflist_mtx, * local->mtx, and * sdata->wdev.mtx are sufficient to iterate the interface list, but only the first two are really true. johannes