๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #25138

Re: [PATCH net 1/4] ixgbe: fix MDIO bus lifetime

#25138
From: Simon Horman
Date: Tue, 01 Dec 2026 09:41
24 lines
8820 bytes
On Tue, Nov 24, 2026 at 10:00:56PM +0000, netdev-bot+sashiko@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential
> issue(s) to consider.
> 
> Critical: 0 ยท High: 0 ยท Medium: 1 ยท Low: 0
> 
> If you believe none of the issues are legitimate, please reply to each
> issue of Medium severity or higher and explain why the AI is wrong.
> If any of them are legitimate and you plan to respin, please let patchwork
> know by including "pw-bot: cr" as a separate line at the end of your reply
> (one such reply per series is enough).
> 
> - [Medium] The patch now clears adapter->mii_bus only after
>   unregister_netdev() has returned.

The analysis regarding a dangling pointer seems to be correct,
but there is no corresponding analysis that any path will use
this pointer.

I think this is a theoretical problem and need not block progress of this
patch.

...
Technical Details
Message-ID: <20261201094131.GL804035@horms.kernel.org>
Path: mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374910-linux-kernel-netdev=dewy.ru
References: <20261120220022.3133664-2-anthony.l.nguyen@intel.com> <179555765601.3135.4530614438146845451@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374910-linux-kernel-netdev=dewy.ru
From: horms@kernel.org (Simon Horman)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net 1/4] ixgbe: fix MDIO bus lifetime
Date: Tue, 1 Dec 2026 09:41:31 +0000
Organization: Usenet Network
Message-ID: <20261201094131.GL804035@horms.kernel.org>
References: <20261120220022.3133664-2-anthony.l.nguyen@intel.com>
 <179555765601.3135.4530614438146845451@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1676079"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:7uslClKhdFGwPkwT4cL42425ZIw= sha256:/dDES74LKATi3SZvhnUNfngCEvOrZTRve/s1lrnwWzk=
	sha1:biKqy5ZWDHkJAoGT2jt4N+QfAAA= sha256:l7RAdN3TrylepuYEQLbo3KbnYEMDzth9HFG6YFV/gAU=
Content-Disposition: inline
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 4C562117308; Tue,  1 Dec 2026 12:41:58 +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 6gKtsmBUFm3V;
	Tue,  1 Dec 2026 12:41:55 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-374910-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 53916117301; Tue,  1 Dec 2026 12:41:47 +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 599A032AA5; Tue,  1 Dec 2026 09:41:38 +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=1796118098;
	b=3ECl0OVJ+0UCMeKbcx3S4frsQhKKSN63vJBIQ2LndIwG2kr+RWfBLatgYoKeWK6wZN5G
	 8iLaIvFNoDKdAzN1vCocK0ysR8ckGV4aAbRDuty0FmxpzxtgTknD0QS6M5ZNG5Q6GdhP6
	 zMOWFPwYZ6MbMKALaa7i1P00xT/2+lrl8TD4YxfqnQnn+0W2edllzEruPG2BNLdrsX4+y
	 /sQ9GZ4yDQ7wOkCDJbDja3zqpRSdjDh7FyFlhLhA0fGvHZ83UJ9iOWSM0a1k+spDZC9fx
	 tXbXb22zUN4Dl1K+YNAOfn7/ftl/qoos+KE3VrISNHYuRM6XA+572kp11XbabZWbl0A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796118098;
	h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc:
	 Subject:Message-ID:References:X-Mailing-List:List-Id:List-Post:
	 List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
	 MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=L+fO2DNHtnAmT0JLYjwDHzvdU2BFW8J94+WjEIKzrSw=;
	b=PIQRVs1AFOwpRO5HN4RyW7YKMV/6cje3bo5oJ7IAgZFFmLoeMqeo1zl5N9Qv6r4qu75F
	 nTvQtoc2D5YgERjJLhbpQQCeXtw781wrF9zxiypUKREdYyr4+POgfQl/XQOJrPn05CUF3
	 kGSso3qMe0fLeJxOdRkOKYUs1iN1o1bRJQElJbEFfGaFmQCIBSU4YaBrjc6gOrjCj96y2
	 Cx9S4uk6vfpXKAaaH5bJKEzikL3WDxXFfZcmC9nd4wTKcPdiewulo8FJNM7xkG8cvPaQM
	 QSK8v9Aq7HPEYJ5KM0DYSmJLKRD+pdB1F0OdM9sqXYmNUk+yyhZuaC0cwGZU427XFFg==
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=XHx6osev;
	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 2F332606A32C;
	Tue,  1 Dec 2026 09:41:38 +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=XHx6osev
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=1796118097;
	b=WCC6QFS2hxJyWRP7HfwCGfBF2LNAvdGyN92kNBni9TDbT4qz5CWXpDX4uaq9Jd4zgn2O
	 QIte2tme0VwL0K5VzQR9lcwyPXL5Lo0FuTn4Mu765xz/a03AV5YFEBnIVZMZHzRwlRABC
	 w+nJ6afdzdoFzyNvAus5Zt5FlczvukcjXwA68077Or1JLotNji+uTc4rMI1ZAyW5+1Yr6
	 pCl/pY012G81x1H46spleobLAXWaEqFiZW90OS3DEIHLR4dITlTFRO1AgtCpX3mYw05qS
	 +JkYZ2R4FuiCPEjRAwzIt+vcyHE2ApYmVwFcntz7DAzWHVTVy6GMLx36a/oE8C64WbA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796118097;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=L+fO2DNHtnAmT0JLYjwDHzvdU2BFW8J94+WjEIKzrSw=;
	b=EBcQI3nEvSCHQBjep7A2IAMG/q8AIRlC47vzVWvJEgB5iRfM4iFeIjA3BygG1plkVRW3
	 +kVW1PvsA3/ckhs/zyx9lBIcnrbFCoR93LOh/r1q/4IVC/nVZtfgVHHF7NmNcv1+e78m8
	 pnlNT78FSa3j0Uc05NBi9SDJ0AUVq3fDLv5FbFibBsIwaNxWTnZQapLVN/5DCMrwVL7wC
	 2BRKczQnXlnDsOvVt0jjuwjg//Zw2bE16LH+xCQppRgptgHId3yYC6wSCHldBhtoLgZsH
	 KIOZ0gOeKShUJPtimX5Ae6ogAfCwBnq2/KMB/rInANkHHxRNET6am+u+iD2CaRvF1pA==
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=XHx6osev;
	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 4B3DE606A325
	for <netdev@vger.kernel.org>; Tue,  1 Dec 2026 09:41:37 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1A1931F000C1;
	Tue,  1 Dec 2026 09:41:33 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796118097;
	bh=L+fO2DNHtnAmT0JLYjwDHzvdU2BFW8J94+WjEIKzrSw=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=XHx6osevzGpyliqgItWjhBCcCzFfwkh/nT5RPpftS9E/jvYoxQzFU5sVLuDGxbfqW
	 qUn5GU8N7mhTiclA4GyIU3rfkIMdkhOwfEZhI9wVODmHkQDVqeuBzu0uGe3sRKH5bI
	 dhsamJ3Dk+nlP5DRaH9egjc+GzxSb7FQrZ20K9P1CxpIBgrlgpzwX8CBymchXUk/Up
	 pLkrH8sqBhyaUoTpUP+O00l5ctNOt/7WO55ulExhIxU2lLzBhwSq1hM/GhRoG68+cf
	 L+m+ZvmQJ/Yf+3YQoTZ6Z/X3+Y3mI0tJlJjAt66PqBn48PoaTsbpPH4Zxind0oA+4m
	 wS6DJIvg8SU3Q==
X-Cc: anthony.l.nguyen@intel.com, davem@davemloft.net, kuba@kernel.org,
	pabeni@redhat.com, edumazet@kernel.org, andrew+netdev@lunn.ch,
	netdev@vger.kernel.org, tomasz.lichwala@linux.intel.com,
	ripatel@wii.dev, xiaolinkui@kylinos.cn, xiaolinkui@126.com,
	runyu.xiao@seu.edu.cn, marcin.szycik@linux.intel.com,
	przemyslaw.kitszel@intel.com, rafal.romanowski@intel.com
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: <179555765601.3135.4530614438146845451@kernel.org>