Searched hist:"3 c3673bde50c31d1f5ab0b39e9eeb555285786bb" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/ptp/ |
H A D | ptp_ocp.c | diff 3c3673bde50c31d1f5ab0b39e9eeb555285786bb Thu May 19 16:21:53 CDT 2022 Vadim Fedorenko <vadfed@fb.com> ptp: ocp: Add firmware header checks
Right now it's possible to flash any kind of binary via devlink and break the card easily. This diff adds an optional header check when installing the firmware.
Signed-off-by: Vadim Fedorenko <vadfed@fb.com> Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|