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)
Wed, May 8, 3:11 PM
Unknown Object (File)
Tue, May 7, 12:06 AM
Unknown Object (File)
Thu, Apr 25, 1:30 AM
Unknown Object (File)
Fri, Apr 19, 5:10 AM
Unknown Object (File)
Mar 4 2024, 9:50 AM
Unknown Object (File)
Jan 22 2024, 5:14 PM
Unknown Object (File)
Jan 11 2024, 10:59 PM
Unknown Object (File)
Dec 23 2023, 3:13 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.