Re: [PATCH v5 07/10] can: peak_usb: fix RX cursor desync for self-received RTR frames with SRR
From: Stéphane Grosjean
Date: Thu Oct 22 2026 - 10:15:04 EST
On 22/10/2026 05:36, netdev-bot+sashiko@xxxxxxxxxx wrote:
[...]
> [Severity: Low]
> Can rx_bytes now be over-counted for a frame that gets dropped?
[...]
> Would it work to move the rx_bytes update below the SRR check, for
> example next to the rx_packets++?
Yes, this is the same point as in the first review of this patch. v6
updates rx_bytes together with rx_packets, once the SRR byte has been
checked.
Thanks!
Stéphane