๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #12809

Re: [PATCH] net: mvpp2: free pending TX timestamp skbs when the port is stopped

#12809
From: Simon Horman
Date: Sun, 08 Nov 2026 17:28
27 lines
8957 bytes
On Sat, Nov 07, 2026 at 12:00:58PM +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: 1 (1) ยท Medium: 0 ยท Low: 0 (1)
> 
> 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).
> 
> - [High] The new mvpp2_tx_hwtstamp_flush()
>   (drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:3422-3436) checks,โ€ฆ

I lean towards this being a pre-existing issue that can be handled
separately from this patch. But I do note that taken at face-value
it severely impacts the reliability of the  teardown path and the
usefulness of this patch in practice.

> Pre-existing issues:
> - [High] This problem wasn't introduced by this patch, but it is a
>   serious race on the same data.
> - [Low] Baseline decision: not a valid finding against this patch.

...
Technical Details
Message-ID: <20261108172851.GJ18859@horms.kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-358814-linux-kernel-netdev=dewy.ru
References: <20261103100535.1310088-1-vulab@iscas.ac.cn> <179405285872.994134.2557194195988942800@kernel.org>

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-358814-linux-kernel-netdev=dewy.ru
From: horms@kernel.org (Simon Horman)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH] net: mvpp2: free pending TX timestamp skbs when the port
 is stopped
Date: Sun, 8 Nov 2026 17:28:51 +0000
Organization: Usenet Network
Message-ID: <20261108172851.GJ18859@horms.kernel.org>
References: <20261103100535.1310088-1-vulab@iscas.ac.cn>
 <179405285872.994134.2557194195988942800@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="167095"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:mP6wkN0TcAW/ofK/YiX6cUjlQDg= sha256:DHubIkeoyxDOPUd5GIwb1mfe/0l/HHDsqokkPyikbRs=
	sha1:H+UCBeaTRUOKv4LVVQ941BIzgCI= sha256:WVBeN5H/+WvUqv4vdlVxQPehXfvMeFnOdTCZ1GP2tTM=
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 55BF91135CF; Sun,  8 Nov 2026 20:32:21 +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 21asrZT5zyKa;
	Sun,  8 Nov 2026 20:32:16 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-358814-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 C45841135CB; Sun,  8 Nov 2026 20:32:07 +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 E282A80CBA; Sun,  8 Nov 2026 17:29:11 +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=1794158951;
	b=zQPtYsQ8d/euhzLQ3mPcyPzbvUX9TAyrAkB9OLHBcfdSTLWpAsDR/saMuu68VhazDS7n
	 yjqBw8ift+5d+obukTJEaGkrs56QaEK4F2m7mkEbHR5proEboSrLriSdfin1tdmx5ui61
	 BVnO3FzrDO95+ziC3YONwVEYgGuSWrE1SPOblbvspX7kuULEhslh11m4wgbdS+CGcX5Oo
	 /ElOfJIaOzbjFP8IVxajOIZylD7uV3PJoxeq0lsyGUN1QLF7/AgA/2F/fq0E22cRfcgVP
	 TfwRo2cdaDJUrxlh+zjcx50msWkL9Ml99zs8dZGMpob+1gQs2c8jTe4I1a8iiterhlA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794158951;
	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=+3sMydJI69ovgr4FAhaRbhcYEGKhyJfYBbTm9Eb525E=;
	b=p41HKcIYmPl0SKxQ1w7rMwZ4V/3tFHOEuVb5m5UKX3zn/6Y/XpUl/T6yPlwHcZnw8klZ
	 ChBqiFblBnzxqaw4nJuB+s3B668Tqd7ryWUkBGIH9sadbF0GTdqO7l7uuYmwA4fyI+JBG
	 tbtBpCb1QfzOsx9OKAkYpJthJtU3xOw1h3LMzX4Gl/1kftPhZUDQoUeoZo3bW+ms9PLJd
	 4gV+iPAKitOEg5vAmHkD6lwT1ONArVV8M9Vm6L4sBZ0Lun2VWQBg7wE0hE5YUgknDIDpN
	 JrbjkSERtmAKvC6s/hZSdCFlYF9HI+0XsQvIVrRHjAZakthaHxB3eF+0jZ+JMsANntQ==
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=lSfKUiOg;
	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 7EE91606A322;
	Sun,  8 Nov 2026 17:29:11 +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=lSfKUiOg
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=1794158936;
	b=iOeq8d/dd9w98Z7i8/VstrRWDFk/3b3ECCmY0kryVjHVoFQt0xS9UceXm/i6dhM7FLFE
	 Fc1yqUZIIycgHRAjt94sO2YtnDp/Qve/VJW1wK2AieOuxNRtkE+Gw29VPYu44/HOlEvVB
	 VgmO0yaUeCXRprLHA1wHMYbAHauJeLrMoFIOHHlYCxOdnDjTliMfStUpqC+HbfScKpVOP
	 M7+sXRcqc2EAwCEYk5LGe/3G/w2Y5lzhtKGLyKLTFqbn44PuvuOCGvSEfgLAKLwMBezYM
	 Fp1aDuBbT8qwdiZq2iiUtOklkv0Ml8TcqmwqtnpUtAEp44n9wlOYTn+Kag5UZzQfGLw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794158936;
	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=+3sMydJI69ovgr4FAhaRbhcYEGKhyJfYBbTm9Eb525E=;
	b=nkNuS2fLKECI4z3Sul3fRGftUzGmHYfulFitoXHEy9gUkAKvCuSBxlupasB2Dt7ibYE3
	 srlNIolRUbby+cOTz5xg4Jsx3W1A1exllfX8TMxaXODCONi1s19Ozr7gKF02Mb5JABG9j
	 JE527IKyOA9htDtVn+uCFm0JEt5MH9nfQ+aPaR4AdtV+rZzaF1DV7wm71MM/Gwg+0fEv+
	 X3crsAAf6xXDLRC1Wk1MeLpZS/1R5FzT91AEYQdA35iKjDZHJyLa4/IQyWJ0mxeFVrB4z
	 9GJcnU6TBKfI7pQFQGXamrSPTd9dOUtv6vTqlZGHa6CY2vMrlNZGVic3DiTvt4I8YNA==
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=lSfKUiOg;
	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 20CFA606A31C;
	Sun,  8 Nov 2026 17:28:55 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F0321F0089F;
	Sun,  8 Nov 2026 17:28:53 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794158935;
	bh=+3sMydJI69ovgr4FAhaRbhcYEGKhyJfYBbTm9Eb525E=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=lSfKUiOgLiSUr9/4uiYzHIjyFHtHkGuPNLZaPdAX+9wwdnws9nqYxKRhKf7Z/6Ey5
	 sFfNg5lX0CH5wiqV6nd/Mw8VymEUqqggQ4cEGm0IM+f65yXTB0xHmH6S0voE0akp2N
	 d1f7jIkMd3MzuSUwwhx/NrXIL/NjV3ZHgMG7HpA4SEEnlaNyNWbeo6MJcxDY11Ze8c
	 KIfXUji75RTm8fcco1yGtagH45ixp/L6DmZLdmQ+ricMH3jQ4tlNJO6rL/xrVUBfg+
	 X9qtzkzI9AYr8txKYMBd0D4uiQmdSRkCclK0zlXl2HvTGodhCLaU5C4fYrMerLUZPS
	 V501/iVvmjDRQ==
X-Cc: vulab@iscas.ac.cn, marcin.s.wojtas@gmail.com, linux@armlinux.org.uk,
	andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
	kuba@kernel.org, pabeni@redhat.com, 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: <179405285872.994134.2557194195988942800@kernel.org>