🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #14270

Re: [PATCH v12 net-next 2/3] netdevsim: Implement basic ptp support

#14270
From: Maciek Machnikowski
Date: Tue, 10 Nov 2026 20:46
22 lines
10699 bytes

On 09/11/2026 21:28, 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] nsim_start_xmit() (drivers/net/netdevsim/netdev.c) only
>   overwrites or clears skb_hwtstamps(skb)->hwtstamp inside `if…A non-issue. We are not working with a real HW, so we have to cut some
corners to make it work. The most probable leaks are fixed, those are
hypothetical.

Thanks,
Maciek
Technical Details
Message-ID: <f9e139ec-c4d6-42ac-8fe3-90e0c342765b@machnikowski.net>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360614-linux-kernel-netdev=dewy.ru
References: <20261108201503.85000-3-maciek@machnikowski.net> <179425609934.994134.5338593155278222514@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360614-linux-kernel-netdev=dewy.ru
From: maciek@machnikowski.net (Maciek Machnikowski)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH v12 net-next 2/3] netdevsim: Implement basic ptp support
Date: Tue, 10 Nov 2026 21:46:55 +0100
Organization: Usenet Network
Message-ID: <f9e139ec-c4d6-42ac-8fe3-90e0c342765b@machnikowski.net>
References: <20261108201503.85000-3-maciek@machnikowski.net>
 <179425609934.994134.5338593155278222514@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="720446"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:V+ONeT8Nbku84BOTwj4/F44VH94= sha256:JRV5fctOV3La8M4dR7qD6oggAFCEHGy2FIbIParcgfw=
	sha1:BOjPLBkYqHK71miQwf1pXR6187w= sha256:/96r0jRuwxabc4UjwlGk+IPh7CcKxLa50o5L7U36pwo=
Content-Language: en-US
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 191BA113CFC; Wed, 11 Nov 2026 01:39:14 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.75
X-Spam-Status: No, score=-2.75 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_INVALID=0.1, DKIM_SIGNED=0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
	URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=fail (2048-bit key)
	reason="fail (message has been altered)" header.d=machnikowski.net
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 qcKliriAqfp2;
	Wed, 11 Nov 2026 01:39:11 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-360614-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=machnikowski.net
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id 8A616113D85; Wed, 11 Nov 2026 01:39:02 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id 73269C8F84; Tue, 10 Nov 2026 20:47:16 +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=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794343632;
	b=TROuOlpnCC2JYKMLp1yO5lscRo0RJ8UjnUCbtwSd2/WXzwR/a/8gpwXAtTyUBBuSy0Vq
	 Jj1JqOYYptKoHMmJhA5XVYA+yhSCyiXBrX6M7x2tP5SZyYCNsuM2/W3iKL2kATdPrQ467
	 DQB8xchwbfLnidTDsp9+dHe1JIz0mQeDrdHuoFw3rv5dB949loF5zv0P76cNsOvWrv96o
	 iCj3mhALRkdO+g11VTGIr9QriZ/S26SpuV88n24wuCriww55ZkcPU3nITEEWQJvNJCS6g
	 uVNw6q6jXiYzcb8E6yySVhzok+sVF9hV3nIDBcAskcRLXIzdyYdeJc1ZnsP717fkJGw==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794343632;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:
	 Message-ID:Date:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To:
	 Content-Type:Content-Transfer-Encoding:X-ZohoMailClient;
	bh=fAn3fHJb0ZVIYk3MdVuhvN+Ds2C9lyvb1z3lSs/YPv8=;
	b=zfnWs5aDmi4dsJK23HfNYaZVQH3/GVKRsiQSJD1VkMZwgDpEgYjuutbZkNd7HzPEJfdQ
	 MX2eINt6pDndGVi8+KeR36sJxSo6vsmeKeG9nDUNi3+mlrFIQjqZqWDwBdwUsusktyG5a
	 bR6i4MlPtDd4uNpjkDkwqoYR6abFLrkhoFPOf6n2x2SZeB8JUYOPZa2qCoATqiVcRsGPf
	 Lk6uo1M2eSF62A86dejn6+yvGE9PmccFZ9xN2QgMTYaiH3h8s/40UcheUU2KlfJBTcMXS
	 OP/utMCw3yJCl2vC05KMTNt16oVITOSIpFB5XT+9MTs+mYizp3zqlCpvpMEHB8VNPuw==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=fail reason="signature verification failed" header.d=machnikowski.net header.i=@machnikowski.net header.a=rsa-sha256 header.s=zoho header.b=NXHF19Ec;
	dmarc=none header.from=machnikowski.net;
	spf=pass smtp.mailfrom=machnikowski.net;
	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 8D917606A333;
	Tue, 10 Nov 2026 20:47:12 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=fail reason="signature verification failed" (2048-bit key) header.d=machnikowski.net header.i=@machnikowski.net header.a=rsa-sha256 header.s=zoho header.b=NXHF19Ec
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=165.173.180.54
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794343631;
	b=3TVFoxzwTVhYVZt0LbDVwJzHX+L8/leMHJf3pxGJryevoKcpDkwpTsq7vDYC6VvlmHL/
	 /RySJwPsIj5RRFlNqqHCwytknp0CBJILOkeEy7iUxeIfJaSAotYi05XkrWLKByFd/0phD
	 2aJjDg/4aAwwGo/4BGy2cpb2IkJOQf7p9weRVWJLcepA/fcSTi3jdXDcKKkDW+ogSWdja
	 HhP66/Z+MGWm0kLuCLU8sY2gZUiIzuFVvvTXKta0BZb4icvOLkbTTNISvpq3sH8Oglnpy
	 iQnAT9y/f9hlYH3q+M7hzV91ylnYGl4ymMPoOqkZ2A2J9aHfiWC8549Lv+Ad77K6zAQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794343631;
	h=DMARC-Filter:DKIM-Signature:Received:Message-ID:Date:MIME-Version:
	 User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To:
	 Content-Type:Content-Transfer-Encoding:X-ZohoMailClient;
	bh=fAn3fHJb0ZVIYk3MdVuhvN+Ds2C9lyvb1z3lSs/YPv8=;
	b=PGAzl0XvbzEh/+FqU0Olp05S5kGNxWbLn1UERuxsNArM6deSvGk6wGp33Nld/Mt55T96
	 xPuEg4DG5WIQKk4KD6ChFOyPr1kze2EkvJp2GRJhMtmtyqQCOfC3zvuoMKSLzC+wnDyFo
	 Rgcx0OdcO3xLYWlCjnWiYZ5oKATYv9rdotO7YDXUYGi9lZuK4loCyGRO/L0WAt7xkEI5C
	 iiYRHx/hsvJmm5ZzTkz9boOvnMtZEcHCvBkLzNjqNhCyrRxviQVFMzkzt90HfyGZMhBcg
	 BMV4f/NCasjrr7uMiDxUBQXjm41khaVt8OKFfWzPZZJfq/8ycItv6JAxEsXLnU9+wCg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=none header.from=machnikowski.net;
	spf=pass smtp.mailfrom=machnikowski.net;
	dkim=pass header.d=machnikowski.net header.i=@machnikowski.net header.a=rsa-sha256 header.s=zoho header.b=NXHF19Ec;
	arc=pass header.oldest-pass=0 smtp.remote-ip=165.173.180.54
X-Received: from sender6-of-o54.zoho.com (sender6-of-o54.zoho.com [165.173.180.54])
	(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 21BA1606A325
	for <netdev@vger.kernel.org>; Tue, 10 Nov 2026 20:47:10 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 21BA1606A325
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=machnikowski.net
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=machnikowski.net
X-ARC-Seal: i=1; a=rsa-sha256; t=1794343619; cv=none; 
	d=zohomail.com; s=zohoarc; 
	b=kSikkyItWRSaVeKMEQ2HERi7plaEaikGEarRTvhkCP9t4N3bmcxCB6IOFxSPmeB9U5WNwewt38zup2qChfkwTDthvBjWfjiv5plXvirtr9RXn5V3QOMDaIS9R+FanLcPT/L9CbvR3oGKIz3wSLKgGOJEscD3wJXN75hlS+xpA0I=
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; 
	t=1794343619; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; 
	bh=fAn3fHJb0ZVIYk3MdVuhvN+Ds2C9lyvb1z3lSs/YPv8=; 
	b=l0CoSJSg2L5OwatsqQWqJa9z6KTx7nJsgJBZYTBBRL68S61QKNKS1RKXHpeN1izasLxyqFrXpN442ojJSRLRQFI+ZpdWU1bn7IVRq8gKNQeoqQibAopBTWDDt2jBTATz+h2g9Ern+fuoYukrVL4OzJhujfzRcpbhsBEH73nMzEg=
X-ARC-Authentication-Results: i=1; mx.zohomail.com;
	dkim=pass  header.i=machnikowski.net;
	spf=pass  smtp.mailfrom=maciek@machnikowski.net;
	dmarc=pass header.from=<maciek@machnikowski.net>
X-DKIM-Signature: a=rsa-sha256; b=NXHF19EcQ7qPmO33456x69gCqQ9n41Yp3RvIlgmBPiF6NaibH+nOF4cdyU7r/e6f8sdNoqA3KCLwVsbqx/Yrn1azfWwHCqj+5/jMGl/dRRuEfzcemp1+WVF9q2zeJHFGJf+uBSBfN5woDlvXDqarQCuKcohdSyso6FwxIDnzYlFZG1z8bvAuSDVMkE7TNSedONguSxVB2lkpDUpzbdaiBNKMkZhX9cK9pgo7FyLFGVyY/E8fhlxd/9YQcwfzY4XBhE+oSrbqzhL5l2NHNQTPSeb6HKXv70BpzXQTwxpVJW7gKcToFecLJxCGtC18fkS80CWPWwLoAOtgf1/gw9FGSg==; c=relaxed/relaxed; s=zoho; d=machnikowski.net; v=1; bh=fAn3fHJb0ZVIYk3MdVuhvN+Ds2C9lyvb1z3lSs/YPv8=; h=Content-Description:Content-ID:Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Resent-Sender:Resent-Cc:Resent-Date:Resent-To:Reply-To:Resent-Message-ID:Resent-From:Sender:Subject:To:Date:From:Message-Id:Reply-To:Subject:To:Cc;
X-Received: by smtp.zohomail.com with SMTPS id 1794343618590611.5932086149721;
	Tue, 10 Nov 2026 12:46:58 -0800 (PST)
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-User-Agent: Mozilla Thunderbird
X-Cc: netdev@vger.kernel.org, kuba@kernel.org, richardcochran@gmail.com,
 milena.olech@intel.com, willemdebruijn.kernel@gmail.com, andrew@lunn.ch,
 vadim.fedorenko@linux.dev, horms@kernel.org, almasrymina@google.com
X-In-Reply-To: <179425609934.994134.5338593155278222514@kernel.org>
X-ZohoMailClient: External