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)
Thu, Aug 13, 7:34 AM
Unknown Object (File)
Wed, Aug 12, 7:49 AM
Unknown Object (File)
Tue, Aug 11, 11:26 PM
Unknown Object (File)
Tue, Aug 11, 4:48 PM
Unknown Object (File)
Tue, Aug 11, 10:48 AM
Unknown Object (File)
Mon, Aug 10, 6:52 PM
Unknown Object (File)
Sun, Aug 9, 10:02 AM
Unknown Object (File)
Sun, Aug 9, 5:13 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