Re: [PATCH net-next v5 9/9] tun: add rx timestamp to the vnet header
From: Steffen Trumtrar
Date: Tue Nov 24 2026 - 05:15:40 EST
On 2026-11-16 at 13:55 GMT, netdev-bot+sashiko@xxxxxxxxxx wrote:
> Thank you for your contribution! Sashiko AI review found 5 potential
> issue(s) to consider.
>
> Critical: 0 · High: 0 · Medium: 4 · Low: 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).
>
> - [Medium] The commit message says the TAI time is written "when a packet
> is handed to userspace or vhost".
> - [Medium] Whether tun writes the timestamp depends only on the
> configured header size: `vnet_hdr_sz >= offsetofend(struct…
> - [Medium] The value the device side reports as the 'TAI receive time' is
> sampled in tun_put_user() (drivers/net/tun.c:2178,…
> - [Medium] tun cannot see the negotiated virtio features, so it guesses
> them from vnet_hdr_sz.
> - [Low] The patch adds `sz < tun_vnet_parse_size(features)` → -EINVAL in
> __tun_vnet_hdr_put() (drivers/net/tun_vnet.h:163-164).
>
> --
(...)
I will fix this.
pw-bot: cr
Steffen
--
Pengutronix e.K. | Dipl.-Inform. Steffen Trumtrar |
Steuerwalder Str. 21 | https://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686| Fax: +49-5121-206917-5555 |