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
F106733341: D18760.diff
Sat, Jan 4, 2:35 PM
Unknown Object (File)
Dec 2 2024, 11:07 AM
Unknown Object (File)
Nov 18 2024, 5:47 PM
Unknown Object (File)
Oct 23 2024, 10:41 AM
Unknown Object (File)
Oct 16 2024, 6:42 AM
Unknown Object (File)
Oct 14 2024, 10:01 AM
Unknown Object (File)
Oct 14 2024, 10:01 AM
Unknown Object (File)
Oct 14 2024, 10:01 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

Lint
Lint Skipped
Unit
Tests Skipped

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.