Page MenuHomeFreeBSD

Fix error handling in the ENA driver and lock drbr_free() call
ClosedPublic

Authored by mk_semihalf.com on Oct 31 2017, 1:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 9 2024, 12:49 AM
Unknown Object (File)
Jan 17 2024, 11:20 PM
Unknown Object (File)
Jan 2 2024, 4:17 AM
Unknown Object (File)
Nov 15 2023, 1:41 AM
Unknown Object (File)
Oct 3 2023, 2:32 PM
Unknown Object (File)
Sep 19 2023, 10:25 AM
Unknown Object (File)
Sep 6 2023, 6:44 PM
Unknown Object (File)
Aug 15 2023, 6:27 AM

Details

Summary

Some goto tags were renamed for consistency, and few error handling
routines were reworked.

The drbr_free() must be locked just in case code will change in the
future - for now, it should never be an issue, because drbr is being
flushed in the ena_down() call, and the lock is required only when there
are some mbufs inside.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable