Page MenuHomeFreeBSD

Fix panic in persistent hardware MAC storage
ClosedPublic

Authored by rpokala on May 11 2017, 6:06 AM.
Tags
None
Referenced Files
F94576123: D10678.diff
Tue, Sep 17, 6:22 PM
F94452205: D10678.id28227.diff
Tue, Sep 17, 9:19 AM
Unknown Object (File)
Sun, Sep 8, 4:26 PM
Unknown Object (File)
Sun, Sep 8, 1:29 PM
Unknown Object (File)
Sat, Sep 7, 7:34 PM
Unknown Object (File)
Sat, Sep 7, 12:28 PM
Unknown Object (File)
Fri, Sep 6, 4:08 PM
Unknown Object (File)
Tue, Sep 3, 8:15 AM
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.