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, Jun 6, 4:00 AM
Unknown Object (File)
Fri, May 26, 12:05 AM
Unknown Object (File)
Apr 10 2023, 1:59 AM
Unknown Object (File)
Feb 15 2023, 1:56 AM
Unknown Object (File)
Feb 4 2023, 8:03 PM
Unknown Object (File)
Jan 9 2023, 8:01 PM
Unknown Object (File)
Jan 9 2023, 9:45 AM
Unknown Object (File)
Dec 11 2022, 9:25 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.