HomeFreeBSD

In the ThunderX BGX network driver we were skipping the NULL terminator

Description

In the ThunderX BGX network driver we were skipping the NULL terminator
when parsing the phy type, however this is included in the length returned
by OF_getprop. To fix this stop ignoring the terminator.

PR: 228828
Reported by: sbruno
Sponsored by: DARPA, AFRL

Details

Provenance
andrewAuthored on
Parents
rS334879: lualoader: Add hook.lua(8) to tree
Branches
Unknown
Tags
Unknown