Page MenuHomeFreeBSD

Fix panic in persistent hardware MAC storage
ClosedPublic

Authored by rpokala on May 11 2017, 6:06 AM.
Tags
None
Referenced Files
F157657410: D10678.id28226.diff
Sat, May 23, 7:10 PM
Unknown Object (File)
Wed, May 20, 1:23 AM
Unknown Object (File)
Tue, May 12, 12:59 AM
Unknown Object (File)
Mon, May 11, 5:46 PM
Unknown Object (File)
Mon, May 11, 3:01 PM
Unknown Object (File)
Mon, May 11, 8:40 AM
Unknown Object (File)
Sun, May 10, 6:52 PM
Unknown Object (File)
Sat, May 9, 7:43 PM
Subscribers

Details

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.