On Wed, Aug 26, 2026 at 09:28:20PM -0300, JR Lanteigne wrote:
> The ETHTOOL_GSET ioctl can report the speed as -1 (SPEED_UNKNOWN)
> while the link is down or autonegotiating. The value passes the
> nonzero check and is latched until the next update, up to 2^minpoll
> seconds after the link is back up, corrupting the RX timestamp
> correction of packets received in that interval (-752 us instead of
> +7.5 us for a 94-octet frame at 100 Mb/s).
> 
> Ignore non-positive speeds to keep the last known speed.

Looks good to me. Thanks.

I'm planning to release 4.9 today and this will be included.

-- 
Miroslav Lichvar


-- 
To unsubscribe email [email protected] with "unsubscribe" 
in the subject.
For help email [email protected] with "help" in the 
subject.
Trouble?  Email [email protected].

Reply via email to