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
F157166904: D12859.diff
Mon, May 18, 11:17 PM
Unknown Object (File)
Sun, May 17, 4:23 PM
Unknown Object (File)
Thu, May 14, 10:01 PM
Unknown Object (File)
Mon, Apr 20, 11:12 PM
Unknown Object (File)
Mon, Apr 20, 6:35 PM
Unknown Object (File)
Apr 2 2026, 7:58 PM
Unknown Object (File)
Mar 26 2026, 5:03 AM
Unknown Object (File)
Mar 26 2026, 4:50 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