opencomputeproject / Time-Appliance-Project

Develop an end-to-end hypothetical reference model, network architectures, precision time tools, performance objectives and the methods to distribute, operate, monitor time synchronization within data center and much more...
MIT License
1.32k stars 101 forks source link

ptp_ocp: fix null pointer access in summary page #84

Closed asratteshome closed 1 year ago

asratteshome commented 1 year ago

Fixes the debug summary page crash in case less than 4 generators are enabled.

Signed-off-by: Asrat Teshome asrat.tesh@gmail.com

vvfedorenko commented 1 year ago

Thanks for the catch. For now the main development of the driver is going through linux kernel mailing list, particularly in netdev. And it would be great to have this fix sent to netdev to review and apply it to the upstream kernel.

asratteshome commented 1 year ago

Thanks for the catch. For now the main development of the driver is going through linux kernel mailing list, particularly in netdev. And it would be great to have this fix sent to netdev to review and apply it to the upstream kernel.

OK. Thanks Vadim!