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)
Wed, Jun 5, 11:27 AM
Unknown Object (File)
Fri, May 24, 12:56 PM
Unknown Object (File)
Sat, May 18, 10:27 PM
Unknown Object (File)
May 15 2024, 1:47 PM
Unknown Object (File)
May 5 2024, 7:59 PM
Unknown Object (File)
May 4 2024, 1:31 PM
Unknown Object (File)
May 2 2024, 2:25 PM
Unknown Object (File)
May 2 2024, 2:14 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 Skipped
Unit
Tests Skipped