mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
Merge branch 'net-macb-fix-the-link-speed-the-taprio-setup-reads'
Aleksei Sviridkin says: ==================== net: macb: fix the link speed the taprio setup reads Two small fixes in macb_taprio_setup_replace(), both in how it obtains the link speed it scales the schedule with. The first: it hands phylink_ethtool_ksettings_get() a stack variable it never zeroed, while phylink fills only what the link mode provides and even reads one field back from the caller. The second: the speed check is written as "<= 0" on a u32, so SPEED_UNKNOWN passes it and turns into a 1 ns hardware limit that every entry then exceeds. Compile-tested against net; the driver has no test surface, and no macb board here. ==================== Link: https://patch.msgid.link/20260903123652.23900-1-f@lex.la Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
commit
c51fe22812
1 changed files with 4 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue