Page MenuHomeFreeBSD

Fix panic in persistent hardware MAC storage
ClosedPublic

Authored by rpokala on May 11 2017, 6:06 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 1, 6:25 AM
Unknown Object (File)
Fri, Nov 28, 2:46 AM
Unknown Object (File)
Thu, Nov 27, 6:44 PM
Unknown Object (File)
Wed, Nov 26, 8:43 AM
Unknown Object (File)
Nov 21 2025, 3:45 AM
Unknown Object (File)
Nov 21 2025, 3:43 AM
Unknown Object (File)
Nov 21 2025, 3:41 AM
Unknown Object (File)
Nov 21 2025, 3:41 AM
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.