Page MenuHomeFreeBSD

Remove adapters from t4_list earlier during detach.
ClosedPublic

Authored by jhb on Oct 9 2019, 12:24 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 9, 2:09 PM
Unknown Object (File)
Thu, Jan 1, 10:41 AM
Unknown Object (File)
Mon, Dec 29, 8:43 AM
Unknown Object (File)
Dec 14 2025, 4:46 PM
Unknown Object (File)
Dec 13 2025, 9:20 PM
Unknown Object (File)
Dec 12 2025, 5:57 PM
Unknown Object (File)
Dec 10 2025, 6:30 AM
Unknown Object (File)
Nov 12 2025, 4:54 AM
Subscribers

Details

Summary

This ensures the clip task won't race with t4_destroy_clip_table.

While here, make some mutex destroys unconditional since attach
always initializes them.

Test Plan
  • kldunload of if_cxgbe panicked due to the clip task racing with the clip table being destroyed
  • with this change and the fix for vmem_destroy, kldunload of if_cxgbe no longer panics

Diff Detail

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