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
Unknown Object (File)
Mon, Mar 30, 5:25 PM
Unknown Object (File)
Sun, Mar 29, 11:32 AM
Unknown Object (File)
Wed, Mar 25, 1:28 AM
Unknown Object (File)
Fri, Mar 20, 6:54 AM
Unknown Object (File)
Wed, Mar 18, 11:54 AM
Unknown Object (File)
Wed, Mar 18, 9:35 AM
Unknown Object (File)
Sun, Mar 8, 11:11 AM
Unknown Object (File)
Mar 7 2026, 3:25 AM
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.