Page MenuHomeFreeBSD

Fix panic in persistent hardware MAC storage
ClosedPublic

Authored by rpokala on May 11 2017, 6:06 AM.
Tags
None
Referenced Files
F150085791: D10678.id28227.diff
Sun, Mar 29, 6:49 AM
Unknown Object (File)
Fri, Mar 13, 2:30 AM
Unknown Object (File)
Mon, Mar 9, 4:01 PM
Unknown Object (File)
Mon, Mar 9, 10:13 AM
Unknown Object (File)
Mon, Mar 9, 4:22 AM
Unknown Object (File)
Dec 1 2025, 6:25 AM
Unknown Object (File)
Nov 28 2025, 2:46 AM
Unknown Object (File)
Nov 27 2025, 6:44 PM
Subscribers

Details

Diff Detail

Event Timeline

I think this is correct, but I think you should skip the {}. The rest of the function does not use them for single-line if statements either.

The rest of ether_ifattach() foregoes braces for single-line blocks, so
do the same.

I've just done a quick test. The box no longer panics with this patch.

This revision is now accepted and ready to land.May 11 2017, 6:33 AM

Thanks for the review, and sorry about the breakage!

This revision was automatically updated to reflect the committed changes.