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
F106096684: D21952.id63068.diff
Wed, Dec 25, 8:34 AM
F106096610: D21952.id63099.diff
Wed, Dec 25, 8:33 AM
Unknown Object (File)
Oct 7 2024, 1:37 PM
Unknown Object (File)
Sep 30 2024, 9:43 AM
Unknown Object (File)
Sep 9 2024, 2:03 AM
Unknown Object (File)
Sep 7 2024, 7:40 AM
Unknown Object (File)
Sep 5 2024, 8:05 AM
Unknown Object (File)
Aug 18 2024, 4:23 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

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 26944
Build 25247: arc lint + arc unit