Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1564369ybz; Thu, 23 Apr 2020 01:00:45 -0700 (PDT) X-Google-Smtp-Source: APiQypKF3yj76J0s4b2Tc4IgZIRkrT712bwCrwqd4FOdqTaZl170guhm3KdvY+SCsKiQ79ICG86a X-Received: by 2002:a17:906:81d7:: with SMTP id e23mr1485271ejx.309.1587628845403; Thu, 23 Apr 2020 01:00:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587628845; cv=none; d=google.com; s=arc-20160816; b=Ax7IZSsUdtRSkcSgoBG5Izo3pwn2r4sP106vPFJvpUa8MT9pwNFwAUubTZR17tRhYk bC7KvW+27grlan8reeiol13pjQSEvC5wG5Qy8jSN/5aDTLTPjomAa1gYBxInwE5Xgi95 pVevfNIvrluewoSwujZViCFxlDWN3iF3+xYQb1LVbIrueGpun1hPSFVq8usw03OeWpN+ umkm+E8G+J3yO8h5I3xrwNFjraN9kGEY/DvYPUC0yWiHRV+IRcHmwhBV3aY5Nu3WK3bw /T3tz4rOcpfGPtzgMWp9/FmZMorTvS05++CVj/GqLHjjQz41z/0dseIV2l5Dh5zQz4VQ EZ0w== 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=WIFP6ZtPHFuF0EX7xKTQbzqTJ66UOetJx9bqW6w5SHI=; b=w44UfFKiWwzVQp+v9OKFY+K2x3LIDFkirqcBRNt2y/t9F5b6J0PEJayzi+PgY5m/pb fXNH7PzqqCIEhfzPHfTyfkeQDSGnya+iQ+BbBATKASw+gjIEXetfkgZ9t5seUOZvfHJL x9Fd7Sr2Rh9b8UR6248tsundsDVzsmFTSXCyVUx5cBQYpyPd6BPY76AdQsmxA1LdfnLC JG6no63HKPqBNX6HKpKY0o7zdv4AaAKQ1hZbm1dG9RzwgwLePRMXHHlQFxVEmJtUD1Zr TUinoDqMZrcWc8TZt90K1RW1hWkyI6EQSklmakvNaGJF6CeuGKnZewA+HDoDGkFct2Rp 1exw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 dk14si784029ejb.124.2020.04.23.01.00.12; Thu, 23 Apr 2020 01:00:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726169AbgDWH7Q (ORCPT + 99 others); Thu, 23 Apr 2020 03:59:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725854AbgDWH7Q (ORCPT ); Thu, 23 Apr 2020 03:59:16 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42769C03C1AB for ; Thu, 23 Apr 2020 00:59:16 -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 1jRWlM-00EkpM-0v; Thu, 23 Apr 2020 09:59:12 +0200 Message-ID: <885ae3bffad315445be3fc70cccade9067ee6937.camel@sipsolutions.net> Subject: Re: Commit "mac80211: fix race in ieee80211_register_hw()" breaks mac80211 debugfs From: Johannes Berg To: Sumit Garg , Hauke Mehrtens Cc: linux-wireless , Felix Fietkau , stable Date: Thu, 23 Apr 2020 09:59:10 +0200 In-Reply-To: (sfid-20200423_093447_121680_FAE877E7) References: (sfid-20200423_093447_121680_FAE877E7) 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-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi Hauke, Sumit, > > Felix reported that the file /sys/kernel/debug/ieee80211/phy0/rc is now > > located at /sys/kernel/debug/rc. Yeah, we noticed this the other day too. > +++ b/net/wireless/core.c > @@ -473,6 +473,10 @@ struct wiphy *wiphy_new_nm(const struct > cfg80211_ops *ops, int sizeof_priv, > } > } > > + /* add to debugfs */ > + rdev->wiphy.debugfsdir = debugfs_create_dir(wiphy_name(&rdev->wiphy), > + ieee80211_debugfs_dir); This cannot work, we haven't committed to the name of the wiphy yet at this point. I have some fixes, I'll send them out asap. johannes