Article View: linux.kernel.netdev
Article #10837Re: [PATCH] ieee802154: drop the extra phy reference in del_iface
From: Krzysztof Kozlowski
Date: Wed, 04 Nov 2026 07:41
Date: Wed, 04 Nov 2026 07:41
60 lines
10270 bytes
10270 bytes
On Wed, 04 Nov 2026 02:28:09 +0000, Wentao Liang wrote:
> ieee802154_del_iface() takes a reference on the phy of the interface and
> then looks up the phy named by IEEE802154_ATTR_PHY_NAME, which takes
> another reference. When the optional attribute names the phy of the
> interface being deleted, phy and phy2 are the same device, the lookup
> reference is not dropped and the function later puts the phy only once.
> Deleting an interface while passing its own phy name therefore leaks a
> wpan_phy reference.
>
> Put the lookup reference in the matching case as well, leaving only the
> reference taken from the interface.
>
> Fixes: bb1cafb8fc41 ("ieee802154: add support for creation/removal of logic interfaces")
> Cc: stable@vger.kernel.org
> Assisted-by: DeepSeek-V4.1-Flash and OpenAI Codex
> Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
> ---
> net/ieee802154/nl-phy.c | 2 ++
> 1 file changed, 2 insertions(+)
>
Multiple things here:
1. Your team ignored completely previous feedback. Multiple times.
2. You use multiple identities with this email address, thus I doubt that we
speak with an actual person.
3. Your bot does not even bother running checkpatch, right?
4. Nothing of this was reproduced nor tested.
5. Finally, the same feedback:
You sent multiple independent patches, to multiple independent
subsystems. The amount of these patches clearly suggest this was
AI generated and most likely not tested.
More importantly, you sent all this work without properly organizing
relevant patches into patchsets. This makes reviewing difficult
and might cause multiple reviewers to address the same issue.
Replying to the entire set is impossible and requires handling each
patch independently, instead of applying or discarding the set.
Maintainers also won't see the bigger picture of your work. Quite
worrying.
This is on the verge of hostile patch: bomb us with so many
contributions, we won't be able to handle them in efficient manner,
like responding ONCE to ask you to slow down. Considering all this
is untested and LLM generated, I have even more doubts whether this
should be considered for review.
Please read kernel documentation BEFORE posting more work. It will
explain you how to identify subsystems, how to organize your work per
subsystem (so a patchset grouping multiple patches with a short cover
letter), how to document the issue discovery method and what was
or was not tested.
Best regards,
Krzysztof
Technical Details
Message-ID:
<20261104-diamond-kittiwake-of-progress-bc547d@quoll>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-356258-linux-kernel-netdev=dewy.ruReferences:
<20261104022809.1484165-1-vulab@iscas.ac.cn>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-356258-linux-kernel-netdev=dewy.ru From: krzk@kernel.org (Krzysztof Kozlowski) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH] ieee802154: drop the extra phy reference in del_iface Date: Wed, 4 Nov 2026 08:41:39 +0100 Organization: Usenet Network Message-ID: <20261104-diamond-kittiwake-of-progress-bc547d@quoll> References: <20261104022809.1484165-1-vulab@iscas.ac.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Injection-Info: usenet.network; logging-data="3348596"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:k7Zmz4By86AErHy+Mt/2uxvzXgQ= sha256:gP0Qpb21YMLS3N1Gl0zLcNBKFc+8Pq17UQaHbayjCx0= sha1:8MCKwlo+8IOSpD0DyGx+/OCOqJY= sha256:Vi1cyRIrAn3RIFFSiT+JnpA0coSQHP+uPQuAw+U8Fxg= 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 8BB40112B1D; Wed, 4 Nov 2026 10:42:10 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.501 X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31 tests=[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 5RCS8Zsfa16V; Wed, 4 Nov 2026 10:42:07 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-356258-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 40A0A112B1C; Wed, 4 Nov 2026 10:41:58 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id E83CF605F28; Wed, 4 Nov 2026 07:41:47 +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=1793778104; b=M8nMontI1VoHMq6QyYGgMfhfabDKH0VajQi+evS0j6NM6R1kWDpppduq/Zei3pn11aKJ 5HNV0LfSbwGgfehtIKXWXlXK5TVPEwe9g+iDMP2V1wb0qWefkn/Kup0XNgqII5O8x6MDj v5ZlS7rtixGM73L+Qh0S3rG4fS8/FaKK/5zGgP33Yhl3mg0dM/5ATuvFb+Zla1oiwgnOs JIgGJhk0q0olw8jEk753me8T0EvNGqI+SHta4eBTndhSSpZJbeL5RXZI6cFL7GdsLFpYz t55j2NrRDzwbhZE3VFgfSZ13X1M4F/6ky9C+WGVCo2pTfrOiyclVKFpsOYjUz236U3Q== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793778104; 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:In-Reply-To; bh=orxc0cOYIwRhmILtAs0pWXdJW9rWB8yPgs6rqTd8ufY=; b=cAtVAWWFPMdbc+V0/qIKD3F9TJMcqF0bsUL3rN1q75cOUl49KwVNdVBpV3L1J7mOnEjA BYiT8W3lbOCYmkJbMhTc/SpEyLiSsXL5xBhBC/nN3Kui/6Nwfmqx1udtShZmlQoRhfEdC VbUZpBRRNnggElHVrbgjt+fHuEfVRKE69HPUQlAeiOoAyed/U9ItD/hZM2H2yQmHfDKX6 eQDgh1eMAEAN+wTXpeHKZhV643tvjhuSvL99kMYdajTuWB7STPCwZ567JPxKMhgyFT+9f rrCXw+iHUfS8wFWnc1/ixwuSwaWMjYsctdjPG1solYTiDSUv/akGBDqb8lGWphh0mfA== 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="cSa/t5JA"; 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 EFE30606A33B; Wed, 4 Nov 2026 07:41:43 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=cSa/t5JA 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=1793778103; b=XN8/SJvq2tLQdgPoi2o/HyZ4yZSRpwqpOm/ydLXscWbJfYVIwVq9LI1BxZvIfV3VIlxo vNOTS2dO3kw+LAlMMv3xr5w+PAvImy1+ROHbEgkco+xE3ou5Tst7hnCUbCboxYwfqgsMI iTWPpJO8GnLGaKSXPjBn5Waiv3n/xuVYxJkW5khYBAz7RDXtKaC/3o4LaX3e+RrR5e/2B p+uXkZlnQHZbQxh84gkRue19YH+DcxkXMs/jhySudmpJywVj1ouymYftfHqVHL7PLtGnM oIh/mo8XB1wGCv+HN+a9rObU4/TBQjpTrj5uc4MgasiZgY0vFnOVr+aB5TzbYIdmXqA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793778103; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=orxc0cOYIwRhmILtAs0pWXdJW9rWB8yPgs6rqTd8ufY=; b=zpOwDBtpelF5ZJX2LjRpfkGruZyCt9gVqFbYz9OpX6UXkdm5RA/YYctn+blXtyRx8Gbc yCQQmuYo+9zCYGKAlxQ1VhiHyPrTwmmjuQTqH8ZP8/DUcOJgcgY44F5WIdQVQHnUcIGo7 /rhwiq/4uNZipJXz2oJKWM0ZaFjeOJ7cqw0I9ijXn5kdjUlIWZzsBn6dPHPhJSh5XQKnx WOQPFwsHny0Wdn2gv8CCj3m0EqonYsx1ERpS0n/wRVXJxzAs0IwwWY7I1fzOEMjaNjjEe xy8rbpPLzhL0Vm7V+6r7ru2dp4sZZdCR7Jngz7gCiX8t166Hxgmi6nl7tRGp2n5KvFQ== 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="cSa/t5JA"; 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 CB25B606A339; Wed, 4 Nov 2026 07:41:42 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB95F1F000C1; Wed, 4 Nov 2026 07:41:41 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793778102; bh=orxc0cOYIwRhmILtAs0pWXdJW9rWB8yPgs6rqTd8ufY=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=cSa/t5JAw24C9Yao6g8ttsz5OCtrEowHRhAxKL8CMJ9cWq5nJLL6/YvKyniAE6YX/ +lcyZi5Y/DXzQhzWavv8DfYt+AbJwX3DRTD6wlFllgQ/NoYz2NA0Tz1jWvObIbgMDN XQ3SIgOKqnOYV4dQ9s20utGB0pj2EjPfqxU9y8dM2UaggNb4F0G2iMIT1q16qZXgzj CG3ey8eNJyOQ1ewghudKm/PX+L3Xxxko0iWSnOPuTsdJhuXzkXFbNuY7KMCrKCGvAM Le/0SwEMrEKybQzEXLTChGiZPSRf+B/rDZmbINt4Us6d0j2ks3EGKcxazTUsQOKm+5 TjFj9g7jmIjHA== X-Cc: netdev@vger.kernel.org, linux-wpan@vger.kernel.org, Alexander Aring <alex.aring@gmail.com>, Simon Horman <horms@kernel.org>, Stefan Schmidt <stefan@datenfreihafen.org>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Miquel Raynal <miquel.raynal@bootlin.com>, Paolo Abeni <pabeni@redhat.com>, Jakub Kicinski <kuba@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: <20261104022809.1484165-1-vulab@iscas.ac.cn>