Page MenuHomeFreeBSD

Fix error-path resource leaks in iflib registration routines
ClosedPublic

Authored by pkelsey on Jan 6 2019, 5:02 AM.
Tags
None
Referenced Files
F166888802: D18760.id52602.diff
Mon, Aug 17, 1:26 PM
Unknown Object (File)
Mon, Aug 10, 10:28 PM
Unknown Object (File)
Mon, Aug 10, 5:43 PM
Unknown Object (File)
Mon, Aug 10, 5:10 PM
Unknown Object (File)
Tue, Aug 4, 5:05 AM
Unknown Object (File)
Tue, Aug 4, 3:53 AM
Unknown Object (File)
Mon, Aug 3, 8:46 AM
Unknown Object (File)
Wed, Jul 29, 2:24 PM
Subscribers

Details

Summary

This patch fixes various resource leaks that can occur in the error paths of iflib_device_register() and iflib_pseudo_register().

Diff Detail

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

Event Timeline

Looks good, only a tiny nitpick on the fail label.

This revision is now accepted and ready to land.Jan 7 2019, 9:03 PM

Looks good, only a tiny nitpick on the fail label.

Will make them consistent prior to commit.

This revision was automatically updated to reflect the committed changes.