Article View: linux.kernel.netdev
Article #8236Re: [PATCH] net: phy: only remove owned topology entries
From: Andrew Lunn
Date: Wed, 28 Oct 2026 12:55
Date: Wed, 28 Oct 2026 12:55
9 lines
8595 bytes
8595 bytes
On Wed, Oct 28, 2026 at 01:03:12PM +0800, Jiale Yao wrote: > phy_link_topo_add_phy() can fail to insert a PHY when its saved index is > already occupied. How did you get into this state? It indicates there is another bug somewhere which needs fixing. Fixing that bug is much more important. Andrew
Technical Details
Message-ID:
<76063c7a-26f2-4867-8d76-ca489f55a29f@lunn.ch>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352855-linux-kernel-netdev=dewy.ruReferences:
<20261028050312.126508-1-yaojiale02@163.com>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-352855-linux-kernel-netdev=dewy.ru From: andrew@lunn.ch (Andrew Lunn) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH] net: phy: only remove owned topology entries Date: Wed, 28 Oct 2026 13:55:03 +0100 Organization: Usenet Network Message-ID: <76063c7a-26f2-4867-8d76-ca489f55a29f@lunn.ch> References: <20261028050312.126508-1-yaojiale02@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="1773985"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:yJG5aJfY6s0DVRN2VkisjNzzG10= sha256:RLpa4Q4xv4J6901iNz9/5BO2aPe+Rf93w45g4krflW4= sha1:xSvZq11Py4lkCNvjs3CRgDkC/jE= sha256:AH7CYDp1+/JimkuJ2NoDCaBvEL2eOzoxH3BqezTaUjw= 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 BFF25125C35; Wed, 28 Oct 2026 16:01:09 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.05 X-Spam-Status: No, score=-3.05 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, 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 (1024-bit key) header.d=lunn.ch 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 wpAxPDwPgBD8; Wed, 28 Oct 2026 16:01:06 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-352855-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 114A8125C33; Wed, 28 Oct 2026 16:00:48 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 509C72ECE7; Wed, 28 Oct 2026 12:55:40 +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=1793192139; b=tUscDBUGK29RLHPbZ7SwjhmAj2uMrWGb4gTtljStG8NcSOTfvLyFsNW+bH/zVgp8J9al 4rgSpl/7B247W95J8bqBJmzvPjq6OgwaLDRdcClsFh0P++bqeLE23qujAmVEJwebrbA0O ZuZnpfmk4SlNJYwlMCHiu+gWUxA8X7d8X7Sr9msTZ24V6sSP39RV0+9a2LF1Wsq16545B 17TcAQvm2uC7GGCqiBl9/HGITZHcwqs1FbiY++HposI5CCfZ6Q+aYmN7xQEDd0tRHxtHM CkOPD0JYVDY2UXewYLna8ScDhMVkazC7fM+7rQ7hseKDNqQfBWASY8CxLxB1hmra8tw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793192139; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received: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:In-Reply-To; bh=eHbyHWX9D1X04aCutvqNA7jCNBocSSad23gFzUF9G78=; b=hv4+wy18c8vpYSpjLqmj2z1UVm+7IkU/bUEAiPAzq7x+ZoaXR8n91ljxiSz+a5En9dyE iU2VrL4gfVbO2w78fQzjzra68ry0TMrrHH6oulH2+mPyq8EcZQOJlNrUVZfPZNVgScpZx M8to2C5lHKk1MfMmXGV09einSojfgtNqy6BJgo7qfd2TMUvtTi3wm39VWZ9HPIMqKCAcC s/VfCA2agvTw8e9WvwWyeg5dutbW0orGWDT/CNDKVXk62SeVvP7EmVsMkQGkwimGLnbC1 GzBaAGwRPY1BB8xaeST+sBYzMMgLzA+zK1W6ZrgAK7QeseJAEKYeUnLxoD6FvJ1xB5g== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=1P4d3T0I; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; 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 71095606A329; Wed, 28 Oct 2026 12:55:39 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=1P4d3T0I X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793192128; b=ptaqzNwOaEs0j7GdriUjQ4pBvfjJmZaegWLO25oTukyTIi5yYXI1ttxk2MA60wSrzhZY AltiywNRaRIdz+gxtMKs+OhuB9GdGoweaX14eAQx0FsdC3F3VUT6F0+ty49VxSCmoWL8v P7pXN5luATwftIi56f4/rbva45ufXQuqsw2RGzoIZLAeUOUgHw7Akig92VQpaW69Lq9C9 mInMugd8CKV4iea8H96Xzh81M3OyRdKhBJo3d6f7rTi5lQms9ek9jGrwygHp16iVJ41cu gZoxrM71qySYaAlVy+DQU4MHSJPPGnNaqKL+umVw767AILRyzJUkL0t1KYws62aGdkA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793192128; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; bh=eHbyHWX9D1X04aCutvqNA7jCNBocSSad23gFzUF9G78=; b=swf4m80rulKAqW+FYv8nIM4uqDi2lK756DU6yy8Z1Li9U2vKE5tcfPUhAsTTwlhPhwrz 3244fz+hrF1y9iYk9qTuc16SW1RwczBK42SJGvibXJVzqqSBUcazRw7X2v2P5diFTUvHf qqD6UF44XK4OmJ5PV+gVjHJUimZ1WmZqDxWK29dOSEN5abAZO+FdTeDKQOddcLC7hVGIC TMQd88y/F/Ll4fAFDGMsbAiJCWWUdYvCb2gjqUFJuo1Eqlb5428CbvSxfowq2036VcqWt cZzK5vnkS94unzOL1hGX9zSOA35Gf0NRpwrLY/nK2fL+283DoPVWOONfnhFC0SquU5g== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=1P4d3T0I; arc=none smtp.remote-ip=156.67.10.101 X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2681F606A321; Wed, 28 Oct 2026 12:55:27 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 2681F606A321 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=eHbyHWX9D1X04aCutvqNA7jCNBocSSad23gFzUF9G78=; b=1P4d3T0ItLxrz6r8x8NMydpK8m nblADvsdNlMH7N4PheILsjtpV5XKgTuoigntzY5n8B62m0PHeKLVPCM5127CyvsYbpFhxffl1WI+W 0sFVOgyFSRjdCc3IG3KOpR6fO7n7xMzJRV24deYEoN4D8NPiIMz5idQyTfEeGBKpuOp0=; X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from <andrew@lunn.ch>) id 1xM3BH-00D6r4-S8; Wed, 28 Oct 2026 13:55:03 +0100 X-Cc: Maxime Chevallier <maxime.chevallier@bootlin.com>, Heiner Kallweit <hkallweit1@gmail.com>, Russell King <linux@armlinux.org.uk>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Christophe Leroy <chleroy@kernel.org>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org 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: <20261028050312.126508-1-yaojiale02@163.com>