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)
Tue, Sep 29, 10:15 AM
Unknown Object (File)
Thu, Sep 17, 4:20 PM
Unknown Object (File)
Sep 9 2026, 7:11 PM
Unknown Object (File)
Sep 8 2026, 12:07 AM
Unknown Object (File)
Sep 6 2026, 3:16 PM
Unknown Object (File)
Sep 6 2026, 11:30 AM
Unknown Object (File)
Sep 6 2026, 9:52 AM
Unknown Object (File)
Sep 5 2026, 2:45 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.