]> Git Repo - linux.git/commit
ptp: ocp: Add firmware header checks
authorVadim Fedorenko <[email protected]>
Thu, 19 May 2022 21:21:53 +0000 (14:21 -0700)
committerJakub Kicinski <[email protected]>
Tue, 24 May 2022 18:39:54 +0000 (11:39 -0700)
commit3c3673bde50c31d1f5ab0b39e9eeb555285786bb
treeb7eb4e1f59b56679a30eff27cabdc89f3eaea4c0
parentb88fdbba931e9c79772120cb60a6ea8adaf0b451
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 <[email protected]>
Signed-off-by: Jonathan Lemon <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
drivers/ptp/ptp_ocp.c
This page took 0.05333 seconds and 4 git commands to generate.