[Bug]: ptp_clock_info in ena 2.13 is missing .adjfine #322
Labels
bug
Report errors or unexpected behavior
Linux ENA driver
triage
Determine the priority and severity
Preliminary Actions
Driver Type
Linux kernel driver for Elastic Network Adapter (ENA)
Driver Tag/Commit
ena 2.13.0
Custom Code
No
OS Platform and Distribution
Linux 6.2+ with ena.phc_enable=1
Bug description
Starting from Linux 6.2 (commit 75ab70ec5cef),
.adjfine
(introduced in 4.10) is required instruct ptp_clock_info
and will trigger a NULL pointer dereference in (at least)ptp_clock_adjtime()
testing this change:
Reproduction steps
Expected Behavior
not crash
Actual Behavior
crash :-)
Additional Data
No response
Relevant log output
Contact Details
[email protected]
The text was updated successfully, but these errors were encountered: