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)
Sat, Nov 22, 2:46 PM
Unknown Object (File)
Sat, Nov 22, 4:31 AM
Unknown Object (File)
Mon, Nov 17, 7:20 AM
Unknown Object (File)
Sat, Nov 15, 4:03 AM
Unknown Object (File)
Mon, Nov 10, 5:23 AM
Unknown Object (File)
Nov 5 2025, 8:14 PM
Unknown Object (File)
Oct 30 2025, 1:58 AM
Unknown Object (File)
Oct 29 2025, 11:17 PM

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