Article View: linux.kernel.netdev
Article #10275Re: [PATCH] ice: release the VF reference in the switchdev trust path
From: Krzysztof Kozlowski
Date: Tue, 03 Nov 2026 10:25
Date: Tue, 03 Nov 2026 10:25
58 lines
10029 bytes
10029 bytes
On Tue, 03 Nov 2026 10:05:30 +0000, Wentao Liang wrote:
> ice_set_vf_trust() takes a reference on the VF with ice_get_vf_by_id()
> and then rejects the request when the PF is in switchdev mode without
> dropping that reference.
>
> Return through the existing out_put_vf label so the VF reference is
> released on this path too.
>
> Fixes: 1281b7459657 ("ice: Forbid trusted VFs in switchdev mode")
> Cc: stable@vger.kernel.org
> Assisted-by: DeepSeek-V4.1-Flash and OpenAI Codex
> Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
> ---
> drivers/net/ethernet/intel/ice/ice_sriov.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
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:
<20261103-gigantic-vulture-of-support-ffffa4@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-355417-linux-kernel-netdev=dewy.ruReferences:
<20261103100530.1309907-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-355417-linux-kernel-netdev=dewy.ru From: krzk@kernel.org (Krzysztof Kozlowski) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH] ice: release the VF reference in the switchdev trust path Date: Tue, 3 Nov 2026 11:25:45 +0100 Organization: Usenet Network Message-ID: <20261103-gigantic-vulture-of-support-ffffa4@quoll> References: <20261103100530.1309907-1-vulab@iscas.ac.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Injection-Info: usenet.network; logging-data="3154620"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:EXNqmZWpkYKM6IeO6m/N5XD9wQI= sha256:40x+fkDGhyMYb90kp97qqgohCRbkpDiWNDTzV3wuWAE= sha1:xqkx7hZtL/dDpweqkq1ae7APUm0= sha256:EKyfKJAPdy+icRzhhiBPNVOV6mlLznMdfu8UHhXkRm8= 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 DA396112833; Tue, 3 Nov 2026 14:32:49 +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 PJFmLphDdPao; Tue, 3 Nov 2026 14:32: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-355417-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 4476811282E; Tue, 3 Nov 2026 14:32:39 +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 98D5963B4F; Tue, 3 Nov 2026 10:29:33 +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=1793701548; b=uvhoDZlWgmdgmWX5zERb8GxqIr7D37CDIQCFwShxhd8fpbgzra3YZr+iOSA7piystzWd 5E+VI5J3oMOK5EuL2wcO37I8pA24WtmCf6rSMdIkAfAEb/UkFmd04+x3BGNDnEW2SOMqc l1e8c4UZVSHoacD7mZlpt288NpOEUSbH4ibVlrK2amf1//QEuZyNNwvhiZZF/owiWeIgd bzywhOB2KBgPDgSvRRTV9TUePRtmD/6rqz1CmFWd3FHWaQwq+Zx6DLdHb3BBiroj9Ynl/ x11kNyOtXiYXXLrZI+I1SgWMTSYebxWTkiNPWn1sBaoZ+qflWFaBRWcxWNJE4AmRUGA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793701548; 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=eVBfRz3fVnCcRJSsVqH9DYQP76908hbJkwajsue4xn4=; b=J8p4v4h9ErrHeiM3I+AfHoDiV3a2ZCkmizGKQsBvujYSd0XuN5zPEESaSvpng6mcbND1 sAZvoLWuKt655C+qMMjBuTbPkC7RUWH4QWxRO5tFaWBPDwu3+4CgxWOOnb8bSe7E+0mwF NRKggDLaPacWZYHrNdoYKA8rJVCRrFD2fWOI3OJB+VFw+UkyBdyA2auyMTvC8Dnr2PTod k3/fIaR3ThzngDmckeNSYTFrwihxOJna+wxvjh/WJAfWedyiVwFsSwDO1OF+EOZAmdrqh 0D2ydrn2Dv9ueLxWAqCZm7dsNDvdrbJrTRx26ElIInypUV6sME/J5vdXr0sKKAxJnkw== 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=OOr+PLEa; 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 D94A3606B132; Tue, 3 Nov 2026 10:25:48 +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=OOr+PLEa 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=1793701548; b=kJgDyt/OfksNKfQWyTWQP3Iib2WTdmGzMclJON35Is7NDBdwhdbT4L6HdmQFrmsvDkmU 6ZSxY+Hpvf3p+aPBIAWcoFdMsS6OoucQYnK/KohmniXUofND1K1WiGOzqdJgsmcvqDjnN 6OuJKbNOF1qWv0mMubvYj4xx+z5Fc0V+FxP0RzJB+ZKPKUw77PS+7zmLAa7tSqMJGhWEB SwUe1ztucasy1xVbTPh9zwFFMoxufz7aj7NI0/xxk4wDhzx3vB/j9E30t8MYCbYrRAyGy ppC3YlGXSB8CtKxOiWxxqS6xherCZgrizSNhuMU7tN+p7Q8uLxDxIIAQUXJFrqUyLpw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793701548; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=eVBfRz3fVnCcRJSsVqH9DYQP76908hbJkwajsue4xn4=; b=TGyuVTtCcs4MKLJiHc6bCyFmwi6Pqi3MG+vn7B5jFkyS2BAG6GZxo/7o8rl+BoJAWso/ 2x+ogNppWNvbUL8+2tBlIW6XfQWmXPxi3L9GggTMOQpsliBvuOgiH9UuewXm5Jn4IRIeD of7Aard0/1V0XZBrY/Na1TPkhGtVkzPTQUtdxwgkme85REg4wE776s6nnJj+J6Y3qVMo4 T8keqAu3hC3HTrvU2YgIH0IWyU0GWzbbBkPblUK7SLDrtDdnh3r9E0N5fC/X0LPl8Op3b Xb+FyR/NEHqTrJRd//v/OYMRP1a86RyCh5Z8sJl7ci2s9Uhqrdw/Rxeqy7+RdWkqmVA== 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=OOr+PLEa; 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 BA748606A32E; Tue, 3 Nov 2026 10:25:47 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id D37031F00919; Tue, 3 Nov 2026 10:25:46 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793701547; bh=eVBfRz3fVnCcRJSsVqH9DYQP76908hbJkwajsue4xn4=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=OOr+PLEan+GgFITMCObTWVGJcHeupjMJKX6wkkhl6yq8KJYZ1qRR0p2OjbdThK05y uNQ+H6wZNWOJMQU95+3NfBEFbjuCX/+6iOzLxAE+ZHKEpG7lD4uuA+DoyBFv0caF3X FPgL/c96MRtxhPcnTObVzPthB0Yk9WVsg970YAAAXqtOL2t2cU3AyDUed1BxV9CZrH nzd11OoHLxjCiua/k0ByAFjIfqx6jMb862TCwm4VHWURWY9kRayEFHzCSGKZyKLLih /EfqsoNioud1XBmlNlvGDRPzOWWe4e6Gzam0s4WQcvjp81BV2mvk5AojwJ5oxK01sk g6dJMjTTel5wg== X-Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "David S. Miller" <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>, intel-wired-lan@lists.osuosl.org, Eric Dumazet <edumazet@kernel.org>, Andrew Lunn <andrew+netdev@lunn.ch>, stable@vger.kernel.org, Paolo Abeni <pabeni@redhat.com>, Tony Nguyen <anthony.l.nguyen@intel.com>, Przemek Kitszel <przemyslaw.kitszel@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: <20261103100530.1309907-1-vulab@iscas.ac.cn>