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
F160377047: D21952.id63068.diff
Tue, Jun 23, 9:33 PM
F160349123: D21952.id.diff
Tue, Jun 23, 1:43 PM
F160343567: D21952.id63099.diff
Tue, Jun 23, 12:21 PM
Unknown Object (File)
Tue, Jun 23, 10:10 AM
Unknown Object (File)
Thu, May 28, 8:25 AM
Unknown Object (File)
May 6 2026, 5:11 PM
Unknown Object (File)
Apr 25 2026, 6:47 AM
Unknown Object (File)
Apr 15 2026, 9:20 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