🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #3586

Re: [GIT PULL] wireless-next-2026-10-07

#3586
From: Johannes Berg
Date: Thu, 15 Oct 2026 12:54
45 lines
7445 bytes
On Thu, 2026-10-15 at 14:43 +0200, Oliver Hartkopp wrote:
> 
> On 15.10.26 14:27, Johannes Berg wrote:
> > On Wed, 2026-10-07 at 19:05 -0700, Kuniyuki Iwashima wrote:
> > > 
> > > Also,
> > > I hope we could remove the long comment in __rtnl_unlock().
> > 
> > So I sent my next PR, and we could therefore do that now. I also checked
> > across the other places in the tree, and isotp_release() was the only
> > one that seems to do something similar, keeping a socket pinned around
> > rtnl_unlock(), but I don't think that could cause a similar problem.
> 
> If I got your claim correctly, I think we are solving this in this 
> net-next PR too:
> 
> https://lore.kernel.org/linux-can/20261015015336.816543-8-mkl@pengutronix.de/

I _think_ that's unrelated, but I might well not understand it
correctly. I was looking at the rtnl_unlock() portion, where that could
run a netdev todo item. Even with that change, you have

	rtnl_lock()
	lock_sock()
	...
	rtnl_unlock()
	...
	release_sock()

which looks sufficiently similar to

	rtnl_lock()
	wiphy_lock()
	rtnl_unlock()
	...
	wiphy_unlock()

that my search flagged it, but isn't really the same anyway. But I'm not
sure I understand the socket lock semantics and the socket notifier etc.
well enough that I should be commenting on this at all :)

johannes
Technical Details
Message-ID: <7e95ff419f81425b9fa18c74f3a77208764751bb.camel@sipsolutions.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-346746-linux-kernel-netdev=dewy.ru
References: <20261007205827.467974-3-johannes@sipsolutions.net> <20261007163616.1088d364@kernel.org> <CAAVpQUATko2Oig53r1+VHe+4Y3fFeX1xOw5RAnXtUAGwvQoB5A@mail.gmail.com> <44cb773984f61ae85b8c42904ef1ce7a62e85e4e.camel@sipsolutions.net> <51e3f9ce-fa8c-4cdb-b5bf-d05f53cb52ac@hartkopp.net>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-346746-linux-kernel-netdev=dewy.ru
From: johannes@sipsolutions.net (Johannes Berg)
Newsgroups: linux.kernel.netdev
Subject: Re: [GIT PULL] wireless-next-2026-10-07
Date: Thu, 15 Oct 2026 14:54:33 +0200
Organization: Usenet Network
Message-ID: <7e95ff419f81425b9fa18c74f3a77208764751bb.camel@sipsolutions.net>
References: <20261007205827.467974-3-johannes@sipsolutions.net>
	 <20261007163616.1088d364@kernel.org>
	 <CAAVpQUATko2Oig53r1+VHe+4Y3fFeX1xOw5RAnXtUAGwvQoB5A@mail.gmail.com>
	 <44cb773984f61ae85b8c42904ef1ce7a62e85e4e.camel@sipsolutions.net>
	 <51e3f9ce-fa8c-4cdb-b5bf-d05f53cb52ac@hartkopp.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="2536729"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:ErLv9irkLNE01fHywNmalcdkCg0= sha256:1PJriDJF8BFEFFmeSveigjUD8YCS+sun5hpXcS4SgCY=
	sha1:xiXzBh/pjK0po+AqecNtvxSEyg0= sha256:547GOtUk3RxFlNKYAJ72CrOobQZSbGVUIhoWrc0c2IQ=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id A1BB7110309; Thu, 15 Oct 2026 16:16:50 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -0.75
X-Spam-Status: No, score=-0.75 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
	MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=sipsolutions.net
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 86BuG1HMqzgK;
	Thu, 15 Oct 2026 16:16:47 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-346746-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=permerror header.from=sipsolutions.net
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 0E9CF10FF48; Thu, 15 Oct 2026 16:16:38 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sea.lore.kernel.org (Postfix) with ESMTP id 5CC7243E84; Thu, 15 Oct 2026 12:54:39 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 3C72142125A;
	Thu, 15 Oct 2026 12:54:39 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="QCVmWfGA"
X-Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7361251FCBD;
	Thu, 15 Oct 2026 12:54:37 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1792068879; cv=none; b=jddoJnS7FFZ8AKDg5E18FGT33xI5I2cWY9h668i7KpAVR4hZrbl5C3GUdsTNotwybc08tWjTLFQFfx8PrWaKjEwx87XVGuXHQ9BWdhbkbc4ryeYbKIMriVvJyB3jLcpLkOwfUIQrqnMgy0lgKLlRzwSweeZAn8C6/EOs+4z1kDQ=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1792068879; c=relaxed/simple;
	bh=Vj+Ks2WpJd32vcgw6WagxzhHIqVHbI0rs33EKvZlLZc=;
	h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References:
	 Content-Type:MIME-Version; b=FuX+6COqcWeJ00EsQ9U5rdETzRRauI2UOQsZgtwXFbdlTNbCc41ldbYOeqHcetRX2rfjumHBkLGsOGr8rLSXNJTEAICafMghUpcOjxuCWYmmwjIiSQhrcu9GJgghFKQu/82nW/UcshJ2+XzdUwQjmxBiK4nL/jawlY78EikQVrI=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=permerror header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=QCVmWfGA; arc=none smtp.client-ip=168.119.38.16
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=permerror header.from=sipsolutions.net
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net
X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding:
	Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender
	:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To:
	Resent-Cc:Resent-Message-ID; bh=PbtHM47vD37xRugiLgkVK73GPsLMSnus4Srt6/JuRtE=;
	t=1792068877; x=1793278477; b=QCVmWfGAV2rEnboyevEaUQU4CZKC7mtg4yD+Cc/LGFgKNVY
	wE1kaZgJnm8lKriA7Ol+u4YzYregeNFLHtxYerpdCflXjE5GaLYucMlOlRJWwbe6wI1K7BwvWGHbY
	uI8/nEPRY1/sj8S6YhuUUThmr7sF4zduce27lqjkipiHnlOPcA3JMHabls5bG8eF9NGhNE3lgR8LE
	n2ajFStMhp4+Nou2RzooowWdeSOqu7WhMW33Yk6hQRaps7Mje2qAbpKFXDjvrCznkv1TV5GTff5yt
	MUOiHVa5WD4O4DlRGaFb3KFwEGku+Tv2U3xDsXEySJnfi9iOMr22SlYV3/paPl1Q==;
X-Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__ECDSA_SECP256R1_SHA256__AES_256_GCM:256)
	(Exim 4.98.2)
	(envelope-from <johannes@sipsolutions.net>)
	id 1xHKyg-00000003bSS-0Zit;
	Thu, 15 Oct 2026 14:54:34 +0200
X-Cc: netdev@vger.kernel.org, linux-wireless@vger.kernel.org
X-In-Reply-To: <51e3f9ce-fa8c-4cdb-b5bf-d05f53cb52ac@hartkopp.net>
X-User-Agent: Evolution 3.60.2 (3.60.2-2.fc44) 
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-malware-bazaar: not-scanned