🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #21706

Re: [PATCH net-next v3] net: tn40xx: avoid early firmware node release

#21706
From: patchwork-bot+netdevbpf
Date: Tue, 24 Nov 2026 10:30
28 lines
8854 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Wed, 18 Nov 2026 17:36:02 +0100 you wrote:
> The mdiobus allocated by tn40_mdiobus_init() has no primary firmware
> node so its firmware node pointer points to the secondary software node
> added by device_add_software_node() and whose reference is released by
> device_remove_software_node().
> 
> As device_remove_software_node() clears the firmware node pointer, any
> reference taken by __mdiobus_register() needs to dropped before removing
> the software node. This is currently done unconditionally however, which
> could result in the dropping of a reference that was never taken if
> registrations fails early on.
> 
> [...]

Here is the summary with links:
  - [net-next,v3] net: tn40xx: avoid early firmware node release
    https://git.kernel.org/netdev/net-next/c/0f0ec7ad716c

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179551620977.3433632.17902196513306006139.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-370237-linux-kernel-netdev=dewy.ru
References: <20261118163602.1141227-1-johan@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-370237-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v3] net: tn40xx: avoid early firmware node
 release
Date: Tue, 24 Nov 2026 10:30:09 +0000
Organization: Usenet Network
Message-ID: <179551620977.3433632.17902196513306006139.git-patchwork-notify@kernel.org>
References: <20261118163602.1141227-1-johan@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="4112291"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:+bJnQOlQEeM3tslh6GKqanPpeRA= sha256:m50W3/wXSVXXtqw0zAxZxvBUTY2fWo48YkYDNkItseQ=
	sha1:IAKaHVp/U2wzHnVOFwlVxBlXmcI= sha256:uePQ4xVve8k6LSCGzjG9HmLuzTNP04XrvQ9kaSF0glo=
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 59FBB125DF3; Tue, 24 Nov 2026 13:30:33 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, 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=kernel.org
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 JwfDidU-QUqM;
	Tue, 24 Nov 2026 13:30:29 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-370237-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id C777C125DEE; Tue, 24 Nov 2026 13:30:19 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id AED073D0DB; Tue, 24 Nov 2026 10:30:13 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795516212;
	b=YonpVHOtST7REaSMp/NcW4xSbn3VfaUQXWzawCrOgotzDEgbLAouDv3c0onxs2D1b+cy
	 rzJVlVHweOdlFmFIz3lvNnQI01dCESXltALTjjbpnjMoN6Og663Exip97iKHsF9SqAP5O
	 oA9HmPF4FnYWrYaCvPctDZvkaPvxjwDWlw0SNg0uSAQOwLFjV3n/+3ze/W2oQPGkbgCe5
	 AF1/b9mZv10/kEFDPlQyoK4aoAO+tyjdMxzLzQd1DmiSaRtvWGnqtzpW5u0XQGIg/VyoN
	 s/f5Pi7/vMwLCySr+7Bf+FWOWuW83SmaxRDg0KvKEHLomGrN0QwIMjlX/cAo7rPC1Jw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795516212;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=EsF9EevdYBXXWKZREWB5ipTnH3GHZRdyoVvIk1kOoAI=;
	b=ApQc+uzB4ul008Wfp4HceH+u3bZQn8H57V4SjppiLv2EVy/DN07dmZ2zAc2atxFNb1VU
	 fiWVNDXDDPQcCkS5Ou+e7zKd2xh/VK1DvGtPkcokElUP5Zim1MYOGh89udQJpwZ2hIsa+
	 IFaj6/oRb9bZ2C7PgxB9qOA/UHnDe9X20qPCz67QzHJvNPvwndY3SbP6XLHafzM3KuruY
	 scHaz3v69PX7J5g1WH9CXFcPKXZOxEEARVOQAcNkxpXKSVYnx16/oTLzlnAbnvi6umIfS
	 7kDWln94xRfSqpe6/dZuqgf8/j4Ar3AiPJMaahCpI9x5etByUgNkBvHJU5Xpuy48spw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=nm6NaEhs;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id CF5A4606A32A;
	Tue, 24 Nov 2026 10:30:12 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=nm6NaEhs
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795516212;
	b=y6M9S8g1r1hgvyjsYLFGE7JoCaVKYl1m/VzrsoK0KUNfnMZBWSsKlVmeRIMmDiUDYEIk
	 DadhA8i6LKpIE+uovAgvReFPQIow92zb4Nb4ytMI7CGf5/f/dxAq9p83YeSge6E0bTv5/
	 qmJxzsxfn5oNuk66yNqE8ErWcOJO7H8/6Kzq52zh0gB5k+ecn2XLwcnJ3zFZXcZ5rM1js
	 k/fB1t2zjFxKdonO212Zg+lmseY1FcAuhoiiA8cRUGv9WRtimBz1l8lETAVQMOXbJdSJA
	 /pJ7kJTDvlcDP4gvMuowGeMUFEKxPO4fzL9DQVwG72zOLi8tMZzVs2poQjLb/YImECA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795516212;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=EsF9EevdYBXXWKZREWB5ipTnH3GHZRdyoVvIk1kOoAI=;
	b=P8HOfobKubCZjQU1i9c1v6593eTsdvyBH4bZLVOPQysjTPHMtOmzROw5qtGjuP2CxbjS
	 CNxscSv+MAwdFXptSgX7dlmjXjOC7UeiLLOvbN5q9s2G8VXNtiCDZcGcZuspaPdkDlXh6
	 2hiZnR8BKpjNetFwNs6SNK4jG4l8cV4na2rKn9ouAtGEvC4tI64pX3hWYjKywSjsiFiaB
	 ChdtMhRqQ/0Y+CsykLbQtbMEqs4ItijFtGjbt7QEImO+YuMUvKnr4Dvd3nJo+yKCAO+ia
	 5iRsMkSjUdJ876r2WloJeDz5HLfFG6Cog4TcnhIe5eOpbqq857552ZgcCCatNSeuwkg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=nm6NaEhs;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id F1F1F606A33D
	for <netdev@vger.kernel.org>; Tue, 24 Nov 2026 10:30:11 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 450BB1F000D8;
	Tue, 24 Nov 2026 10:30:11 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795516211;
	bh=EsF9EevdYBXXWKZREWB5ipTnH3GHZRdyoVvIk1kOoAI=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=nm6NaEhs4zPYWEYSIxSh0fadh+4b9q5eA+wlKVROYQimZ1AcCePfVUgWz036JXyIg
	 rmzGlaapqWbFJXk4eVNqUphh9QoxZ2/qTUGcvWXZSGmtN7whbSUJXyMDsceyrw4LUZ
	 T8G3SSYNChcCzntyxgZue/SfrE1LXgD6QtYjJ1ico9XUx4kzX31AG6vskCtHfY5jR6
	 4Ux22aBDM+GdMA/anSQ3h4g6ynD09bahktzUfCHdtvKiTak9tgXvvWiK74qwLx5Etx
	 mL8lVHnkWYwhFZ53+woQgA2BYkFiXT9gf/G0sbVQTIfhXqVYmkROoXCOOOHsSYGt2g
	 GeDAIqyGoS/4A==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 3A34A3931025;
	Tue, 24 Nov 2026 10:30:11 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261118163602.1141227-1-johan@kernel.org>
X-Cc: fujita.tomonori@gmail.com, andrew+netdev@lunn.ch, davem@davemloft.net,
 edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
 netdev@vger.kernel.org, hfdevel@gmx.net