HomeFreeBSD

firewire: add warn-only CRC validation for CSR ROM directories

Description

firewire: add warn-only CRC validation for CSR ROM directories

Implemented crom_crc_valid() helper to validate IEEE 1394 config ROM CRC-16
checksums.

Skipped root header CRC validation since csrhdr.crc_len cover the entire
ROM body which is not fully read at header parse time. Per-directory
CRC checks below catch corruption where it needed.

Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D58307

Details

Provenance
seurosAuthored on Jul 20 2026, 10:38 PM
adrianCommitted on Jul 20 2026, 10:38 PM
Reviewer
adrian
Differential Revision
D58307: firewire: add warn-only CRC validation for CSR ROM directories
Parents
rG4a4bcdc6aa3e: net80211: update drivers to allocate sequence numbers in the raw path
Branches
Unknown
Tags
Unknown